freebsd-ports/devel/rubygem-hashie-forbidden_attributes/pkg-descr

7 lines
354 B
Text
Raw Normal View History

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