← Graph

Strong Parameters

concept 2 connections

Rails feature that requires controllers to explicitly permit which params from a request hash can be mass-assigned to models. Nick Sutterer argues Reform (both 2 and 3) makes strong_parameters unnecessary: because a Reform form only reads the properties it declares, any extra keys in the incoming hash are silently ignored, so whitelisting at the controller is redundant.

category
pattern
about
Strong Parameters concept
Talk highlights that Reform 3 makes strong_parameters obsolete.
about
Strong Parameters concept
About the obsolescence of Rails strong_parameters.

Provenance

Read by
7 extractions