UI Deploy

Curated, Short, Web UI Dev we Love.

Permit Array in Rails Strong Parameters

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.

view source

Advertisement