Hi Guys, I'm new to Rails so my question might sound rather dull but here it goes: I've got an User model, and a Group model which has a name . A User can have none or many groups of Users A User can be related to many users without any group (friendship) How can I implement such a thing in rails 3.2, or have you got a nice reference for this matter ? Thanks in advance.
on 2012-09-25 17:23
on 2012-09-25 17:26
On Mon, Sep 24, 2012 at 1:22 PM, Dreescan <email@example.com> wrote: > How can I implement such a thing in rails 3.2, or have you got a nice > reference for this matter ? Great reference for you: http://guides.rubyonrails.org/association_basics.html When you're done with that, go up a level and see what else they've got. -Dave -- Dave Aronson, T. Rex of Codosaurus, LLC... aka Available Secret-Cleared Ruby/Rails Freelancer (NoVa/DC/Remote); see http://www.Codosaur.us/.