Many of us have already heard about PaperTrail gem and its use for versioning of model. I found it very useful for purpose of debugging. Lets have a quick look at exactly what is PapertTrail gem and how we can use it for purpose of debugging.
PaperTrail and Versions:
- When we add papertrail gem in our rails app and run migration for same at that time it creates Version table for us in our DB.
- When we use it in particular model and perform any kind create, update operation on it then each time...