instance method protected_attributes_configs

Ruby on Rails 3.2.22.5

Since v3.1.12 Last seen in v3.2.22.5 Private

Available in: v3.1.12 v3.2.22.5

Signature

protected_attributes_configs()

No documentation comment.

Source
# 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

Defined in activemodel/lib/active_model/mass_assignment_security.rb line 214 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveModel::MassAssignmentSecurity::ClassMethods

Type at least 2 characters to search.

↑↓ navigate · open · esc close