forked from Lainports/opnsense-ports
8 lines
341 B
Text
8 lines
341 B
Text
Protect attributes from mass-assignment in Active Record models.
|
|
|
|
This plugin adds the class methods attr_accessible and attr_protected to your
|
|
models to be able to declare white or black lists of attributes.
|
|
|
|
Note: This plugin will be officially supported until the release of Rails 5.0.
|
|
|
|
WWW: https://github.com/rails/protected_attributes
|