hashrocket/decent_exposure
A helper for creating declarative interfaces in controllers observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- 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: 6077
- days_rel: n/a
- days_push: 1240
- n_releases_24m: 0
Adoption not part of the score
1799 stars · 107 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Ruby gem providing declarative helpers (expose, expose!, exposure_config) for Rails controllers to lazily expose models and memoized attributes. It reduces boilerplate in CRUD controllers by automatically finding or building records from params.
Use cases
- reduce boilerplate in Rails CRUD controllers
- declaratively expose models to controller actions and views
- memoize controller instance variables lazily
- customize how records are fetched or built per controller
- clean up controller code in a Rails monolith
When to choose
- you maintain a Ruby on Rails app with repetitive controller code
- you want a small, focused DSL for controller exposures
- you prefer declarative controller patterns over manual find/new logic
When to avoid
- you don't use Ruby on Rails
- you prefer explicit controller code without metaprogramming magic
- you need a library with frequent recent releases
Facets
library · maturity maintenance
middleware web-framework web-development backend developer-tools ruby rails controllers gem crud declarative web-server
1 source
- readme: https://github.com/hashrocket/decent_exposure · fetched 2026-08-28 · 6f65aa1c8f20
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| hashrocket/decent_exposure | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="hashrocket/decent_exposure")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem