Home » Development » Permit Array in Rails Strong Parameters
Permit Array in Rails Strong Parameters
Jul 30, 2015
Rails 4 introduced the pattern of strong parameters at the controller layer. As a best practice, you will explicitly list the parameters that an endpoint should accept in payloads. Arrays are specified just slightly different.