Rails 7 allows permitting numeric params | Saeloun Blog
11-Mar-2022 1895
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 #Rails #allows #permitting #numeric #params #Saeloun #blog #params https://rubyonrails.ba/link/rails-7-allows-permitting-numeric-params-saeloun-blog