1

I'm migrating from rails 2.3 to 3.2 and want to use strong_parameters. I changed config.active_record.whitelist_attributes config true to false, but that didn't helped.

1 Answer 1

2

Check application.rb and all environment files for config.active_record.mass_assignment_sanitizer, this should be removed and then it works.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.