Files
bsdports/_unused/rubygem-protected_attributes/pkg-descr
2019-12-26 07:26:06 +00:00

9 lines
341 B
Plaintext

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