makandra/active_type
Make any Ruby object quack like ActiveRecord observed · 2026-08-28
Health v2 · maintenance only
61/100
- Activity 63
- 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: 4576
- days_rel: n/a
- days_push: 223
- n_releases_24m: 0
Adoption not part of the score
1122 stars · 77 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Ruby gem that lets any Ruby object behave like an ActiveRecord model, with attributes, validations, and callbacks, without requiring a database table. It supports form/presenter models and extending existing ActiveRecord records with model-specific behavior.
Use cases
- create form models not backed by a database table
- add sign-up-only validations and callbacks to a user model
- build presenter models in Rails with ActiveRecord amenities
- define virtual attributes with defaults on plain Ruby objects
- keep controller-specific logic out of shared ActiveRecord models
When to choose
- you need ActiveRecord-like validations and callbacks on non-database-backed models
- you want per-form behavior on top of existing ActiveRecord records
- you need lazy or instance-context attribute defaults beyond Rails' built-in .attribute
When to avoid
- you only need simple virtual attributes available in vanilla Rails 5+
- your project does not use ActiveRecord or Rails
- you need to override existing database-backed column behavior
Facets
library · maturity active
orm form-handling web-development backend developer-tools ruby activerecord rails form-models virtual-attributes presenters web-server
1 source
- readme: https://github.com/makandra/active_type · fetched 2026-08-28 · b2db9da1817d
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| makandra/active_type | main | 61 |
For agents
markdown · JSON · MCP: product_card(name="makandra/active_type")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem