Audited is an ORM extension that logs all changes to your Rails models.
The tool addresses the need to maintain a complete audit trail of model modifications in Rails applications. It works by automatically creating audit records whenever a model is created, updated, touched, or destroyed, capturing what changed and optionally who made the change. Audits can include comments and associations to related models. By default, changes are stored in YAML format, though PostgreSQL users can opt for native JSON column types for better performance, and the user ID column type can be customized to support non-integer primary keys like UUIDs.
Audited suits Rails applications that require compliance tracking, change history, or accountability for data modifications. It works with ActiveRecord and supports a wide range of Rails versions. The tool allows fine-grained control through configuration: you can specify which columns to audit, which actions trigger audits, and whether to exclude certain callbacks globally. This flexibility means you can audit only the data that matters for your use case rather than tracking everything by default.
The project maintains active test coverage across multiple Ruby versions and Rails releases, with continuous integration validating compatibility. Development follows a structured code style standard and responds to upgrade requirements by providing migration generators that only apply necessary schema changes.