Rails 7 allows permitting numeric params | Saeloun Blog

In Rails, strong params provide an interface for protecting attributes from the end-user assignment. We can specify required attributes and neglect unnecessary attributes to be used in the Active model mass assignment. However, in Rails 6, there was an issue with permitting nested hash with numeric keys. Permit behavior was inconsistent and confusing when nested hash contains integer keys.
Rails 7 allows permitting numeric params | Saeloun Blog #ruby #rubydeveloper #rubyonrails #blog #params https://www.rubyonrails.ba/single/rails-7-allows-permitting-numeric-params-saeloun-blog

Nezir Zahirovic

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

related articles