Tracking All Paper Trail Version From A Single Request With Correlation UUIDs
24-Sep-2020 1808
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 #Tracking #Paper #Trail #Version #Single #Request #Correlation #UUIDs https://rubyonrails.ba/link/tracking-all-paper-trail-version-from-a-single-request-with-correlation-uuids