What is the best / cleanest / easiest way to keep a record history of entries in Rails?
I am looking for registration - who made the changes and when and the opportunity to roll back to earlier versions of the records.
I assume that you will use ActiveRecord callbacks for updates or deletions, instead of updating / deleting records, you should create a new one and have some kind of identifier to support the same βrecordβ, maybe a field to distinguish which record is current and version field.
I vaguely remember seeing some plugins, but I can not find them at the moment. r
(Is there a term for this that I do not know?)
source share