method

add_from_legacy_details_hash

add_from_legacy_details_hash(details)
private

No documentation available.

# File activemodel/lib/active_model/errors.rb, line 576
      def add_from_legacy_details_hash(details)
        details.each { |attribute, errors|
          errors.each { |error|
            type = error.delete(:error)
            add(attribute, type, **error)
          }
        }
      end