empty?()
Returns true if there are any errors, false if not.
# File activemodel/lib/active_model/errors.rb, line 149 def empty? all? { |k, v| v && v.empty? } end