opnsense-ports/devel/rubygem-protected_attributes/pkg-descr
Franco Fichtner 1e6c5e9d29 */*: sync with upstream
Taken from: FreeBSD
2015-09-21 07:16:00 +02:00

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