paper-trail-gem/paper_trail
View on GitHub ↗ ★ 7,029 Ruby
Track changes to your rails models
6 mentions on Hacker News by 5 people: 1 story, 5 comments · first 2012-07-19 · latest 2025-07-09
20082026
-
With Ruby on Rails one can use https://github.com/paper-trail-gem/paper_trail which will keep a record of every database change. Similarly one could record every database query on the database server. Looking at clicks sounds like…
comment by mtmail · 2025-07-09 · in Ask HN: How do you "replay" a costly user mistake in your internal software? -
For audit trails in rails, I still like papertrail. https://github.com/paper-trail-gem/paper_trail . It provides the ability to restore records as well as auditing abilities.
comment by mrinterweb · 2022-07-19 · in Soft deletion probably isn't worth it -
In the Ruby on Rails world we have https://github.com/paper-trail-gem/paper_trail It adds a table with event type (create, update, destroy etc), object type (class) and id, and user who initiated it. Optionally a column that stores…
comment by mtmail · 2021-03-19 · in Ask HN: How to Do Audit Trail? -
…per transition event in a separate table. This is what the papertrail[1] gem does for example. [1] https://github.com/airblade/paper_trail
comment by adipasquale · 2017-06-26 · in Designing state machines