search for: initiated_friendship

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

Did you mean: initiated_friendships
2008 Nov 20
3
Any progress on undirected self-referential many to many relationships?
...ng extra information), and a friendship database with two entries in the database per friendship (<Bob, Alice> and <Alice, Bob>). But that seems inefficient. Is there a better way to do this? Alternatively, is there a way to merge 2 lists into a single has_many? Like this: has_many :initiated_friendships, :foreign_key =>''befriender_id'', :class_name => ''Friendship'', :dependent => :destroy has_many :received_friendships, :foreign_key =>''befriendee_id'',...