method

object_has_errors?

object_has_errors?()
private

No documentation available.

# File actionview/lib/action_view/helpers/active_model_helper.rb, line 40
        def object_has_errors?
          object.respond_to?(:errors) && object.errors.respond_to?(:[]) && error_message.present?
        end