freebsd-ports/devel/rubygem-hashie-forbidden_attributes/pkg-descr
Sunpoet Po-Chuan Hsieh afa94b9af5 Add rubygem-hashie-forbidden_attributes 0.1.1
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.

WWW: https://github.com/Maxim-Filimonov/hashie-forbidden_attributes
2017-07-15 17:21:22 +00:00

6 lines
354 B
Text

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.
WWW: https://github.com/Maxim-Filimonov/hashie-forbidden_attributes