Reputation: 3141
Is there a way of completely disabling the MassAssignmentSecurity feature in Rails3?
We're busy with an upgrade and need to disable it for a while :)
Upvotes: 2
Views: 974
Reputation: 8954
In the config/application.rb
you can set the config.active_record.whitelist_attributes
to false
so you have the opposite situation, you have to blacklsit attributes that shouldnt be accessible. On the bottom line that would do what you want,...
Upvotes: 1