paper-trail-gem/paper_trail

Track changes to your rails models

View on GitHub ↗Jump to charts ↓Open shareable report

Summary Information

Updated 41 minutes ago
Added to GitGenius on September 9th, 2026
Created on May 27th, 2009
Open Issues & Pull Requests: 7 (+0)
GitHub issues: Enabled
Number of forks: 908
Total Stargazers: 7,028 (+0)
Total Subscribers: 61 (+0)

Repository Insights (GitGenius)

Median issue/PR response: 2.4 days
Mean response time: 37.1 days
90th percentile: 91.1 days
Tracked items: 34

How this project is maintained

Around half of the issues opened in the past year never receive a reply. Only 9% of issues opened in the past year have been closed. Three people close 58% of everything that gets resolved.

Charts & Analytics

Fetching additional details & charts...

Issue Activity (beta)

Open issues: 4
New in 7 days: 1
Closed in 7 days: 1
Avg open age: 439 days
Stale 30+ days: 2
Stale 90+ days: 1

Recent activity

Opened in 7 days: 1
Closed in 7 days: 1
Comments in 7 days: 0
Events in 7 days: 0

Top labels

  • Stale (31)
  • keep (1)

Detailed Description

PaperTrail is a Ruby gem that tracks changes to ActiveRecord models for auditing and versioning purposes. The tool automatically records modifications to your Rails models, allowing you to inspect how a model appeared at any point in its lifecycle, revert it to a previous version, or restore it after deletion.

The gem works by creating a versioning system that captures state changes whenever a model is created, updated, or destroyed. It stores this history in a way that lets you query the complete audit trail of any tracked model, making it straightforward to understand what changed, when it changed, and potentially who made the change. This approach is particularly useful for compliance requirements, debugging, and understanding the evolution of your data over time.

You should consider PaperTrail if you need comprehensive change tracking on your Rails models without building custom audit infrastructure. It suits applications requiring compliance auditing, data recovery capabilities, or the ability to show users the history of records they interact with. The gem integrates directly with ActiveRecord, so it works naturally within existing Rails applications with minimal configuration overhead.

The project maintains steady engagement with its user base, with maintainers typically responding to new issues and pull requests within a few days. Work in the issue tracker centers on maintaining and improving the core functionality, indicating a focus on stability and reliability rather than rapid feature expansion.