Permitting Nested Arrays using Strong Params in Rails

Strong Parameters, aka Strong Params, are used in many Rails applications to increase the security of data sent through forms. Strong Params allow developers to specify in the controller which parameters are accepted and used. By permitting only the expected params, any unneeded or potentially dangerous params will be ignored and effectively filtered out. This is especially important during Active Model mass assignments where multiple params can be passed at once.
Permitting Nested Arrays using Strong Params in Rails #ruby #rubydeveloper #rubyonrails #arrays #params https://rubyonrails.ba/single/permitting-nested-arrays-using-strong-params-in-rails

Nezir Zahirovic

Contractor Ruby On Rails (8+ years) / MCPD .Net / C# / Asp.Net / CSS / SQL / (11 years)

related articles