Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Gem to track User Activity [closed]

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).

like image 354
RubyFanatic Avatar asked Jun 14 '12 21:06

RubyFanatic


2 Answers

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.

like image 155
Ismael Avatar answered Oct 09 '22 18:10

Ismael


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.

like image 30
RubyFanatic Avatar answered Oct 09 '22 19:10

RubyFanatic