4 ms·
I'm working on an update too, and am biting the bullet and rewriting the strong_parameters/attr_accessible parts. But, you can in theory use the Protected Attr
by mountaineer 13y ago
I'm working on an update too, and am biting the bullet and rewriting the strong_parameters/attr_accessible parts.
But, you can in theory use the Protected Attributes gem to aid migration with less rewrite.[1]
[1] http://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.html http://edgeguides.rubyonrails.org/upgrading_ruby_on_rails.ht...