Railscast episode on creating the Friend relationship.
http://railscasts.com/episodes/163-self-referential-association
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.
On Jul 27, 12:08 am, Arun kumar Agrahri
<arunagra...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:> Hi,
>
> 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
>
> Thanks,
> Arun