search for: befriender_id

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

Did you mean: befriendee_id
2008 Nov 20
3
Any progress on undirected self-referential many to many relationships?
...th 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'', :class_name => &...