method
attr_protected
v4.0.2 -
Show latest stable
- Class:
ActiveModel::DeprecatedMassAssignmentSecurity::ClassMethods
attr_protected(*args)public
No documentation available.
# File activemodel/lib/active_model/deprecated_mass_assignment_security.rb, line 6
def attr_protected(*args)
raise "`attr_protected` is extracted out of Rails into a gem. " "Please use new recommended protection model for params" "(strong_parameters) or add `protected_attributes` to your " "Gemfile to use old one."
end