rails/strong_parameters
Taint and required checking for Action Pack and enforcement in Active Model observed · 2026-08-28
Health v2 · maintenance only
10/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases archived
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: 5286
- days_rel: n/a
- days_push: 3312
- n_releases_24m: 0
Adoption not part of the score
1260 stars · 160 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
Strong Parameters is a Ruby gem that provides whitelisting (permit) and required-key checking for Action Controller parameters, preventing accidental mass assignment of unpermitted attributes in Active Model. It is the standalone backport of the parameter filtering now built into Rails, with its last release in 2017 since the functionality lives in Rails itself.
Use cases
- prevent mass assignment vulnerabilities in Rails controllers
- whitelist which request parameters can update model attributes
- require certain params and return 400 Bad Request when missing
- permit nested parameters for forms with nested attributes
- filter out unpermitted scalar, array, and hash params
- secure create and update actions in a Rails API
When to choose
- you are on an old Rails 3.x app that needs mass assignment protection
- you want the standalone gem version of strong parameters outside a full Rails upgrade
When to avoid
- you are on Rails 4 or newer, where strong parameters are built into Action Controller
- you need actively maintained parameter validation tooling
Facets
library · maturity maintenance
security middleware form-handling web-development backend security ruby rails mass-assignment-protection parameter-whitelisting strong-parameters web-server
1 source
- readme: https://github.com/rails/strong_parameters · fetched 2026-08-28 · 97f5fb4c2356
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| rails/strong_parameters | main | 10 |
For agents
markdown · JSON · MCP: product_card(name="rails/strong_parameters")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem