FreeBSD.software
Home/devel/rubygem-hashie-forbidden_attributes

rubygem-hashie-forbidden_attributes

0.1.1devel

Hashie compatibility layer for forbidden attributes protection

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.

$pkg install rubygem-hashie-forbidden_attributes
github.com/Maxim-Filimonov/hashie-forbidden_attributes
Origin
devel/rubygem-hashie-forbidden_attributes
Size
25.8KiB
License
MIT
Maintainer
sunpoet@FreeBSD.org
Dependencies
3 packages
Required by
0 packages

Dependencies (3)