1 class Member
< ActiveRecord
::Base
2 has_one
:current_membership
4 has_many
:fellow_members, :through => :club, :source => :members
5 has_one
:club, :through => :current_membership
6 has_one
:favourite_club, :through => :memberships, :conditions => ["memberships.favourite = ?", true], :source => :club
7 has_one
:sponsor, :as => :sponsorable
8 has_one
:sponsor_club, :through => :sponsor
10 has_one
:organization, :through => :member_detail
11 belongs_to
:member_type