trailblazer/reform
Form objects decoupled from models. observed · 2026-08-28
Health v2 · maintenance only
40/100
- Activity 38
- Release rhythm 8
- Longevity 100
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: 4873
- days_rel: n/a
- days_push: 373
- n_releases_24m: 0
Adoption not part of the score
2488 stars · 180 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Reform is a Ruby library providing form objects decoupled from models, with validations, coercion, and nested model setup. It is framework-agnostic, integrates with Rails and simple_form, and is part of the Trailblazer architecture suite.
Use cases
- validate incoming params in API apps without touching models
- move validations out of fat ActiveRecord models into form objects
- build nested forms for has_many and has_one relationships
- compose a form from multiple model objects
- coerce and deserialize JSON input before persisting
- prepopulate form fields before rendering an edit page
When to choose
- you want validation logic separated from persistence models
- you use Rails, Hanami, or any Ruby framework and need framework-agnostic forms
- you need nested or composed forms mapping to object graphs
- you are adopting the Trailblazer architecture
When to avoid
- you want simple built-in Rails strong parameters and model validations
- your project avoids additional abstraction layers
- you need a frontend form UI library rather than server-side form objects
Facets
library · maturity stable
form-handling serialization middleware web-development backend developer-tools ruby jvm form-objects trailblazer dry-validation rails coercion nested-forms
10 sources
- readme: https://github.com/trailblazer/reform · fetched 2026-08-28 · e787191d109c
- homepage: https://trailblazer.to/2.1/docs/reform.html · fetched 2026-08-29 · d83e657cd4b7
- site_page: https://trailblazer.to/2.1/docs/trailblazer · fetched 2026-08-29 · 0d8721ca2266
- site_page: https://trailblazer.to/2.1/about · fetched 2026-08-29 · 978259f029a8
- site_page: https://trailblazer.to/2.1/docs/operation · fetched 2026-08-29 · b73ae1d528a4
- site_page: https://trailblazer.to/2.1/docs/activity/deprecated · fetched 2026-08-29 · 4d98f56be12b
- site_page: https://trailblazer.to/2.1/docs/rails_integration · fetched 2026-08-29 · 0dee9e4f1cd0
- site_page: https://trailblazer.to/2.1/docs/test · fetched 2026-08-29 · a406f4c9605e
- site_page: https://trailblazer.to/2.1/docs/macro · fetched 2026-08-29 · d647a910bf24
- site_page: https://trailblazer.to/2.1/docs/workflow · fetched 2026-08-29 · ac86a27b46fe
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| trailblazer/reform | main | 40 |
For agents
markdown · JSON · MCP: product_card(name="trailblazer/reform")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem