method
protected_attributes
v3.0.9 -
Show latest stable
- Class:
ActiveModel::MassAssignmentSecurity::ClassMethods
protected_attributes()public
No documentation available.
# File activemodel/lib/active_model/mass_assignment_security.rb, line 131
def protected_attributes
self._protected_attributes ||= BlackList.new(attributes_protected_by_default).tap do |w|
w.logger = self.logger if self.respond_to?(:logger)
end
end