Monday, June 24, 2013

Re: [Rails] Relational DB - Related and not Related

On Mon, Jun 24, 2013 at 10:11 AM, Colin Law <clanlaw@googlemail.com> wrote:

> If the user can only be a member of one group then use User belongs_to
> group.

Oh, good point. I was assuming (and you know what happens then!) that
a User could belong to many Groups.

-Dave

--
Dave Aronson, the T. Rex of Codosaurus LLC,
secret-cleared freelance software developer
taking contracts in or near NoVa or remote.
See information at http://www.Codosaur.us/.

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAHxKQih-VLfGY1boeJnOsOSRn-Qi1WSrBG8Sd4tW-DUsbx%2BVQA%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate