method

protected_attributes_configs

rails latest stable - Class: ActiveModel::MassAssignmentSecurity::ClassMethods

Method deprecated or moved

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

protected_attributes_configs()
private

No documentation available.

# File activemodel/lib/active_model/mass_assignment_security.rb, line 214
      def protected_attributes_configs
        self._protected_attributes ||= begin
          Hash.new { |h,k| h[k] = BlackList.new(attributes_protected_by_default) }
        end
      end