blob: 6361cb50f6eb117e74f22afffa2f60180920ed87 (
plain) (
blame)
1
2
3
4
|
If you're using Rails 4 strong parameters, you will get a
ForbiddenAttributesProtection exceptions when mass-assigning attributes. This
gem allows mass assignment. It prevents Mash from responding to :permitted? and
therefore triggering this behavior in ForbiddenAttributesProtection.
|