[Rails] Re: Implementing a user activity log with STI. (?)

2010-02-22 Thread abhishek.parolkar
This was in reply to http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/3ccb0cd6684d7836?pli=1 On Feb 22, 2:11 pm, "abhishek.parolkar" wrote: > You could also tryhttp://github.com/parolkar/pfeed > > Explanation here > :http://www.travisdunn.com/activity-logs-and-friend-feeds-o

[Rails] Re: Implementing a user activity log with STI. (?)

2010-02-22 Thread abhishek.parolkar
You could also try http://github.com/parolkar/pfeed Explanation here : http://www.travisdunn.com/activity-logs-and-friend-feeds-on-rails-pfeed -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonra

[Rails] Re: Implementing a user activity log with STI. (?)

2009-10-05 Thread bitrocker
Hi, you guyes are doing what I want to implement soon. So I had some thoughts about an activity log. Pretty sure polymorphic associations are a good choice. To keep the rest clean from logging code and the logging flexible, I thought about using an observer, like class ActivityObserver < ActiveRe

[Rails] Re: Implementing a user activity log with STI. (?)

2009-08-12 Thread Ram
Nice. Went through a wiki article on Command Pattern. Very much the design i need. Will try to do that when I get back to the activity log :). Thanks. On Aug 13, 10:49 am, Robb wrote: > Thanks, Ram.  Yep, I realized that polymorphic associations is exactly > what I was talking about.  In my case

[Rails] Re: Implementing a user activity log with STI. (?)

2009-08-12 Thread Robb
Thanks, Ram. Yep, I realized that polymorphic associations is exactly what I was talking about. In my case, all the log info is private and per-user. Also, the only action is "view", so I have a simpler case than you. I just need to generate a list like, Today Document 452.242 Document 55

[Rails] Re: Implementing a user activity log with STI. (?)

2009-08-12 Thread Ram
Hi Robb, I ended up writing a very crude solution and then stopped that to revamp later. I DO believe you are on the right track though. The only part that I havent figured out though is writing neat code for the actual message or sentence the user will read. Like, You edited the task - Change t