method

_ensure_no_duplicate_errors

Importance_0
v5.1.7 - Show latest stable - 0 notes - Class: ActiveRecord::AutosaveAssociation
_ensure_no_duplicate_errors() private

No documentation

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

Hide source
# File activerecord/lib/active_record/autosave_association.rb, line 490
      def _ensure_no_duplicate_errors
        errors.messages.each_key do |attribute|
          errors[attribute].uniq!
        end
      end
Register or log in to add new notes.