method

attr_protected

Method deprecated or moved

This method is deprecated or moved on the latest stable version. The last existing version (v4.0.2) is shown here.

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