PaperTrail is a Ruby on Rails gem providing version tracking for ActiveRecord models. It stores every change to records, enabling auditing, undo/redo of updates, and historical reconstruction of model states. Designed for traceability, compliance, and temporal querying across Rails applications.

Features

  • Automatic record of create/update/destroy events
  • has_paper_trail for seamless model integration
  • Query models by version timestamp or change fields
  • Restore models to previous states or revert changes
  • Configurable metadata (who made change, why, etc.)
  • Support for custom versioning strategies and associations

Project Samples

Project Activity

See All Activity >