cgriego/active_attr
What ActiveModel left out observed · 2026-08-28
Health v2 · maintenance only
64/100
- Activity 70
- 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: 5452
- days_rel: n/a
- days_push: 185
- n_releases_24m: 0
Adoption not part of the score
1195 stars · 91 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
ActiveAttr is a Ruby gem providing composable modules that let you build plain Ruby objects with ActiveModel-compatible features like attribute definitions, defaults, typecasting, and querying. It fills the gaps in ActiveModel so POROs can behave like ORM-backed models without a database.
Use cases
- create plain ruby models with activemodel compatibility
- define typed attributes with defaults on non-database models
- build form objects that behave like active record models
- add attribute typecasting to plain old ruby objects
- make service objects satisfy the activemodel api
- extract model logic out of active record into lightweight classes
When to choose
- you need ActiveModel API compliance without ActiveRecord or a database
- you want composable attribute functionality instead of a full ORM
- you're building form objects, service objects, or domain models in a Rails app
When to avoid
- you're already using ActiveRecord or another full ORM with persistence
- you need a lightweight modern alternative like Virtus or dry-types with different APIs
- your project doesn't use Ruby
Facets
library · maturity active
orm serialization form-handling web-development backend developer-tools ruby jvm activemodel plain-ruby-models attributes typecasting rails
1 source
- readme: https://github.com/cgriego/active_attr · fetched 2026-08-28 · cf4c60032567
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cgriego/active_attr | main | 64 |
For agents
markdown · JSON · MCP: product_card(name="cgriego/active_attr")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem