class ActiveModel::Errors

def empty?

person.errors.empty? # => false
person.errors.full_messages # => ["name cannot be nil"]

If the error message is a string it can be empty.
Returns +true+ if no errors are found, +false+ otherwise.
def empty?
  size.zero?
end