gregnavis/active_record_doctor
Identify database issues before they hit production. observed · 2026-08-28
Health v2 · maintenance only
73/100
- Activity 91
- Release rhythm 35
- Longevity 100
Flags: no_releases
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: 3854
- days_rel: n/a
- days_push: 55
- n_releases_24m: 0
Adoption not part of the score
1916 stars · 69 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Ruby gem that detects database issues in Rails applications, such as extraneous indexes, missing foreign key constraints, and validations not backed by database constraints. It ships as a set of Rake tasks that analyze Active Record models and schemas before problems reach production.
Use cases
- find missing foreign key constraints in a rails app
- detect unindexed foreign keys before deploying
- check uniqueness validations are backed by unique indexes
- find extraneous indexes slowing down writes
- audit activerecord models against the database schema
- detect missing non-null constraints on columns
When to choose
- you maintain a Ruby on Rails application with Active Record
- you want automated database schema health checks in CI
- you need to catch index and constraint gaps before production
When to avoid
- your project does not use Ruby on Rails or Active Record
- you need general-purpose database monitoring rather than schema/model consistency checks
Facets
library · maturity active
database testing developer-tools databases developer-tools web-development ruby cli rails activerecord database-health linting schema-validation
1 source
- readme: https://github.com/gregnavis/active_record_doctor · fetched 2026-08-28 · 9293e1d56ed0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| gregnavis/active_record_doctor | main | 73 |
For agents
markdown · JSON · MCP: product_card(name="gregnavis/active_record_doctor")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem