Flowdock
method

object_has_errors?

Importance_0
object_has_errors?() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/helpers/active_model_helper.rb, line 42
        def object_has_errors?
          object.respond_to?(:errors) && object.errors.respond_to?(:[]) && error_message.present?
        end
Register or log in to add new notes.