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
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
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.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs