cypriss/mutations
Compose your business logic into commands that sanitize and validate input. observed · 2026-08-28
Health v2 · maintenance only
60/100
- Activity 62
- 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: 5066
- days_rel: n/a
- days_push: 230
- n_releases_24m: 0
Adoption not part of the score
1396 stars · 92 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Ruby gem for composing business logic into command objects that sanitize, coerce, and validate input before executing. It provides a structured alternative to ActiveRecord validations and controller callbacks for Rails and plain Ruby apps.
Use cases
- validate and sanitize user signup input in a rails controller
- replace strong parameters and model validations with command objects
- organize business operations like signup, login, and password change into reusable commands
- build multi-model create flows without nested attributes
- reuse the same business logic across web controllers and background jobs
When to choose
- you want input validation and business logic separated from controllers and models
- you're building a rails or ruby app with complex multi-model operations
- you need commands reusable across API endpoints, jobs, and other contexts
When to avoid
- you prefer service objects or dry-rb's dry-validation ecosystem
- your app has simple CRUD operations with minimal validation needs
- you're not working in Ruby or Rails
Facets
library · maturity stable
form-handling middleware web-development backend developer-tools ruby command-pattern business-logic input-sanitization rails form-validation
1 source
- readme: https://github.com/cypriss/mutations · fetched 2026-08-28 · c940add747e0
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| cypriss/mutations | main | 60 |
For agents
markdown · JSON · MCP: product_card(name="cypriss/mutations")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem