# collectiveidea/audited

Audited (formerly acts_as_audited) is an ORM extension that logs all changes to your Rails models.

Repository: https://github.com/collectiveidea/audited
Canonical: https://ross.abutalabs.com/products/audited
Language: Ruby
License: MIT
License Family: permissive
Topics: activerecord, audit, rails, ruby, audit-log, audit-trail, auditing
Last push: 2025-11-18T19:05:29+00:00

## Health v2 (maintenance only)
Score: 56/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 52, release rhythm 35, longevity 100
- inputs: {"age_days": 6780, "days_push": 288, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3496, forks 661 (observed 2026-08-28T04:08:07.345881+00:00)

## What it is
Audited is a Ruby gem and ActiveRecord extension for Rails that automatically logs all changes to your models into an audits table. It records who made changes, supports comments, and can associate related models with each audit entry.

## Use cases
- track who changed what in rails models
- add an audit trail to activerecord records
- log model changes for compliance
- record user attribution for record changes
- keep a history of attribute changes in a rails app
- audit database record modifications

## When to choose
- you use Rails with ActiveRecord and need per-model change history
- you need to record which user made each change
- you want a mature, widely used audit gem with MIT licensing

## When to avoid
- you use MongoDB or an ORM other than ActiveRecord
- you need auditing outside of Rails/Ruby
- you need high-throughput change data capture rather than simple model auditing

## Facets
- artifact type: library
- maturity: active
- function: orm, logging, database
- domain: databases, web-development, backend, developer-tools
- platform: ruby
- tags: activerecord, audit-trail, audit-log, rails-gem, change-tracking, compliance, rails, web-server

## Member repositories
- collectiveidea/audited (main) score 56

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:07.345881+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:35:53.252950+00:00, confidence not recorded.
  - readme: https://github.com/collectiveidea/audited (fetched 2026-08-28T04:08:07.345881+00:00, sha 4a18a5afab7f)
- Data as of 2026-08-30T08:39:29.467469+00:00.
