Displaying Friends Activity


I’m wondering the popular methods to display friends activity on
user’s profile page.
Any docs or tutorial will be helpful. I’m a newbie in RoR


Railscast episode on creating the Friend relationship.

Once you have the friend relationship you just need a way to track the
activity for a user. This could be just the relationship between posts/
comments/etc. ordered by recent submission. Or you could use userstamp
to track all changes of a model.