On Jan 24, 2011, at 9:49 AM, Piotroslav wrote: > Hello! > > Do you have any recomendation for creating activity log? > > I need to log data of users loging in/out and for all changes they > commit (new/update/edit/destroy). > I;ve done some research and I found : > https://github.com/svenfuchs/vestal_versions > https://github.com/airblade/paper_trail > https://github.com/parolkar/pfeed > https://github.com/grosser/record_activities > > But as I am not familiar with using even RoR I don't know which of > them should I use (I think none of them does all I need). > Maybe there is some methods in Hobo that can help?
I think its going to be heavily dependent on what exactly you're wanting to *do* with the logs - for instance, both vestal_versions and paper_trail allow you to restore objects to their previous states. That may or may not be important / useful in your application, and I think that will drive the choice of a plugin. On the upside, most actions that change records are inside with_acting_user blocks in the default Hobo controller actions, so the current user *should* be available to you in after_create / after_save callbacks. --Matt Jones -- You received this message because you are subscribed to the Google Groups "Hobo Users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/hobousers?hl=en.
