# File lib/active_resource/validations.rb, line 195 def size @errors.values.inject(0) { |error_count, attribute| error_count + attribute.size } end