On Mon, Jun 24, 2013 at 8:54 AM, Cameron Gilroy <m...@camerongilroy.com> wrote:

> users can be members of a group or they can just be a
> user - what's going to be the best way to deal with this?

has_many :through seems perfect for this, given the many-to-many
nature and the possibility you'll want to have additional info about
the relationship (like when they joined, positions held within the
group, etc.).

-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+unsubscr...@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/CAHxKQigPKZPovetba%2B-momg2pM7sSyTaA2AA_75bA9J0jp8pig%40mail.gmail.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to