On 2 April 2010 15:21, RVRoadie <[email protected]> wrote: > Kind of new at this and have been unable to find an example of what I > want to do. > > I have three models, people, clubs and members. > > @members = @club.members.all --> finds all club members > > How do I write a find of all people that are not members of @club
What are the relationships between the models (has_many, belongs_to and so on)? Colin > > Thanks > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Talk" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-talk?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

