Reputation: 4503
I am new to Ruby on Rails. The rails application that I have developed has several models including one for user that stores user name, passwords and other user related information.
Now the problem is that a few columns of a table corresponding to a model has modified erratically. Now I want to know if Ralis has any feature so that I can know the user who has done this or this is because of some other reasons.
Upvotes: 0
Views: 88
Reputation: 8257
https://github.com/collectiveidea/audited might provide the auditing you require.
Upvotes: 0
Reputation: 85
Using devise
It adds other columns(yours) in migrate, before generate views
Upvotes: 0
Reputation: 46499
You can try installing Userstamp and maybe Paper Trail to track changes to records. If you've implemented the User model yourself (as opposed to a framework like devise
), you'll need to read the docs carefully to see what properties are expected of your User models to get the full benefit.
Upvotes: 1