I need to backup a record before save. Not only the changes that were made (I know to do it with Person.name_was) but ALL, COMPLETE record.
I.E. something like Person_was. But there is no such method.
How can I achieve that?
I need to backup a record before save. Not only the changes that were made (I know to do it with Person.name_was) but ALL, COMPLETE record.
I.E. something like Person_was. But there is no such method.
How can I achieve that?
Copyright © 2021 Jogjafile Inc.
I ended up with this code: