amatsuda/active_decorator
ORM agnostic truly Object-Oriented view helper for Rails 4, 5, 6, 7, and 8 observed · 2026-08-28
Health v2 · maintenance only
72/100
- Activity 88
- 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-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5388
- days_rel: n/a
- days_push: 76
- n_releases_24m: 0
Adoption not part of the score
1128 stars · 109 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
ActiveDecorator is a Ruby gem that provides ORM-agnostic, object-oriented view helpers for Rails applications. It automatically mixes decorator modules into model objects only within the view context, keeping views and helpers clean and object-oriented.
Use cases
- decorate Rails models for view rendering
- keep view logic object-oriented instead of procedural helpers
- format model attributes in views without cluttering helpers
- auto-decorate model collections and associations in partials
- call ActionView helpers like link_to from decorator modules
When to choose
- you use Rails 4 through 8 and want lightweight, implicit decorators
- you prefer decorator modules over presenter objects with explicit wrapping
- you want decorators that can call ActionView helper methods directly
- you use ActiveRecord, ActiveResource, or any plain Ruby object ORM
When to avoid
- you use Sinatra, Hanami, or non-Rails frameworks
- you need standalone presenter objects usable outside the view context
- you prefer explicit decoration like Draper's `decorates` style
Facets
library · maturity active
templating middleware web-development backend developer-tools ruby rails decorators view-helpers orm-agnostic presenters web-server
1 source
- readme: https://github.com/amatsuda/active_decorator · fetched 2026-08-28 · 12397e0d9c30
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| amatsuda/active_decorator | main | 72 |
For agents
markdown · JSON · MCP: product_card(name="amatsuda/active_decorator")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem