# File lib/active_model/errors.rb, line 133 def each messages.each_key do |attribute| self[attribute].each { |error| yield attribute, error } end end