views:

160

answers:

1

What do you all think are the best resources for adding a "friendship" system to your rails social networking sites? The main three I have found:

Self-Referential Associations - Railscast
acts_as_network
has_many_friends

However i find that the railscast one tends to be a bit simplistic, and a lack of implementation documentation for the other two. Can anyone recommend any other plugins or tutorials that might help with the development of this aspect of my social network?

Thanks!

+1  A: 

If you're using restful authentication I would highly recommend this tutorial. It's not the most elegant fleshed out solution, but it will get you on the right path. I was able to copy the code almost verbatim into an app and it works great.

http://railsforum.com/viewtopic.php?id=16760

David