ctran/annotate_models
Annotate Rails classes with schema and routes info observed · 2026-08-28
Health v2 · maintenance only
23/100
- Activity 0
- Release rhythm 8
- Longevity 100
Flags: no_license
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 6762
- days_rel: n/a
- days_push: 758
- n_releases_24m: 0
Adoption not part of the score
4484 stars · 680 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Ruby gem that adds schema summary comments to the top or bottom of ActiveRecord model files, fixtures, tests, factories, and routes.rb in Rails projects. It keeps database column information visible directly in source code as comments.
Use cases
- show database schema as comments in Rails models
- annotate ActiveRecord models with column info
- add routes summary to routes.rb
- keep factory and fixture files documented with schema
- auto-update model comments after migrations
When to choose
- you maintain a Rails app and want schema info visible in model files
- your team wants comments refreshed automatically after db migrations
- you want routes.rb annotated with route output
When to avoid
- you don't use Rails or ActiveRecord
- you dislike generated comments cluttering your source files
- you use a non-Ruby ORM without equivalent tooling
Facets
library · maturity stable
developer-tools documentation orm developer-tools web-development databases documentation ruby rails activerecord schema-annotations code-comments gem
1 source
- readme: https://github.com/ctran/annotate_models · fetched 2026-08-28 · f5c388c740e9
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ctran/annotate_models | main | 23 |
For agents
markdown · JSON · MCP: product_card(name="ctran/annotate_models")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem