mirror of
https://git.freebsd.org/ports.git
synced 2025-05-30 01:46:55 -04:00
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
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
|