method

protected_attributes_configs

Importance_0
v3.1.0 - Show latest stable - 0 notes - Class: ActiveModel::MassAssignmentSecurity::ClassMethods
protected_attributes_configs() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activemodel/lib/active_model/mass_assignment_security.rb, line 189
      def protected_attributes_configs
        self._protected_attributes ||= begin
          default_black_list = BlackList.new(attributes_protected_by_default).tap do |w|
            w.logger = self.logger if self.respond_to?(:logger)
          end
          Hash.new(default_black_list)
        end
      end
Register or log in to add new notes.