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