blob: 657bda4bacbb862bc1de497ef6bfe5600d38f8e6 (
plain) (
blame)
1
2
3
4
5
6
7
8
|
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
|