Forum: Ruby on Rails friendship models

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
E41ff53614fcbf599d07b0d55bd18269?d=identicon&s=25 Chad Arimura (Guest)
on 2006-12-26 00:02
(Received via mailing list)
I implemented a friendship model like Flickr's where you can have a
friend that doesn't call you a friend... I used Josh Susser's
self-referential model

I want to change to the myspace model where two people are either both
friends, or not at all.

Are there any examples out there that implement it this way?
8e7e5b934fcbcdfb475072685755457f?d=identicon&s=25 Taylor Strait (taylorstrait)
on 2006-12-27 02:29
There is an example of such self-referential joins and rules in Fowler's
"Rails Recipes."
This topic is locked and can not be replied to.