Welcome to Working With Rails


Discussion Forums

Discuss all things Ruby on Rails with perhaps the web's most vibrant group of Ruby on Rails enthusiasts.
simple user tracking
2 Posts
simple user tracking

Is there a simple way to record a users activity on a website. ie: which page did they request and when. When they signed in. When they signed out, ...

I know it can't be that difficult but I seem to have my sock stuck on a nail here, any advice out there ?

Just push me off the right cliff. ewf

Hi Eric, there is a Rails plugin called "acts_as_audited":https://github.com/collectiveidea/acts_as_audited . Maybe can help you. Is simple to use and very fllexible. Allows logs all changes to your models. In the attached link you can find full documentation for installation and use.

Also, u could use a filter in the controller, or an Observer, depending on the case, to save the changes u want.

Any other ideas would be welcome.

I hope this has been helpful.


Forum Rating: 100
Sign In To Rate Post
2 Posts
Login to add your message