# File lib/simple_form/components/errors.rb, line 13 def has_errors? object_with_errors? || object.nil? && has_custom_error? end