Tracking All Paper Trail Version From A Single Request With Correlation UUIDs

If you’ve ever had a need to implement an audit log to track all the changes that get persisted for all or at least some models in your application, there is a good chance that you’ve encountered PaperTrail gem that makes it trivial to track all the changes - it might be as easy as adding has_paper_trail to the desired models.However, storing versions is just one thing. The other one is using them later, which sometimes might be far from obvious. For example, you see that some record was updated, but you don’t exactly know why.
Tracking All Paper Trail Version From A Single Request With Correlation UUIDs #ruby #rubydeveloper #rubyonrails https://www.rubyonrails.ba/single/tracking-all-paper-trail-version-from-a-single-request-with-correlation-uuids

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles