# File lib/active_record/validations.rb, line 138
    def each
      @errors.each_key { |attr| @errors[attr].each { |msg| yield attr, msg } }
    end