paper-trail-gem/paper_trail
Track changes to your rails models observed · 2026-08-28
Health v2 · maintenance only
59/100
- Activity 81
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 6307
- days_rel: n/a
- days_push: 117
- n_releases_24m: 0
Adoption not part of the score
7032 stars · 908 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
PaperTrail is a Ruby gem that tracks changes to Rails ActiveRecord models, recording every create, update, and destroy as versioned snapshots. It lets you audit model history, view a model at any past point, revert to any version, and restore destroyed records.
Use cases
- audit changes to rails models
- track who changed a record and when
- revert a model to a previous version
- restore a deleted record
- view how a model looked at any point in time
- diff versions of a model over its lifecycle
When to choose
- you need an audit log or version history for Rails ActiveRecord models
- you want undo/rollback and undelete capabilities for records
- you need to record which user made each change
When to avoid
- you are not using Ruby on Rails or ActiveRecord
- you need full database-level auditing rather than model-level versioning
- you only need simple timestamps without version history
Facets
library · maturity stable
logging orm middleware databases developer-tools web-development backend ruby jvm audit-trail versioning activerecord rails undo soft-delete-restore
1 source
- readme: https://github.com/paper-trail-gem/paper_trail · fetched 2026-08-28 · 27fce6dac084
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| paper-trail-gem/paper_trail | main | 59 |
For agents
markdown · JSON · MCP: product_card(name="paper-trail-gem/paper_trail")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem