search for: club_membership_id

Displaying 1 result from an estimated 1 matches for "club_membership_id".

2010 May 14
4
Tricky model situatione
I have two models Club and users. users are regular authenticated users and some of them might create a club. A club can also have members (essentially users) and there are attributes and models that apply to member but not to users. Here is what I have right now. Club => belongs_to :user User => has_many clubs (since a user can host multiple clubs). Now how do I fit this member model