Alex Rivera | Logout

Gem to track User Activity

Asked 2012-06-14T21:47:42.947
12

Is there a good gem to track/log user activities on the site? Like when they sign in, sign out, or perform an action that changes something on the site (non GET requests in general).

Edit
Report

2 Answers

13

Yes there are. Here is one, paper trail. https://github.com/airblade/paper_trail

Its main prupose is to versioning models but I think its also good for your use case since it registers who made each version.

For more gems search at ruby toolbox. Here are the categoties that you should check in this case

https://www.ruby-toolbox.com/categories/Active_Record_User_Stamping

https://www.ruby-toolbox.com/categories/Active_Record_Versioning

Maybe Userstamp is actually better for your use case.

answered 2012-06-14T22:12:08.777
13

This is a follow up. I've been using a gem called public_activity. https://github.com/pokonski/public_activity. It's pretty simple to install and setup.

answered 2012-06-19T19:16:29.060

Your Answer