In Rails 4 disable Strong Parameters by default

ruby-on-rails, ruby-on-rails-4, strong-parameters

Solution

If by "disable" you mean falling back to Rails 3-style `attr_accessible` lines, then yes.

Just use the protected_attributes gem.

Problem

Is there anyway to disable using strong params? And I know it's a security vulnerability but I really don't need it / want it.

Original source