Flowdock
method

invalid?

Importance_0
v3.0.5 - Show latest stable - 0 notes - Class: ActiveModel::DeprecatedErrorMethods
invalid?(attribute) public

No documentation

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

Hide source
# File activemodel/lib/active_model/deprecated_error_methods.rb, line 23
    def invalid?(attribute)
      ActiveSupport::Deprecation.warn "Errors#invalid?(attribute) has been deprecated, use Errors#[attribute].any? instead"
      self[attribute].any?
    end
Register or log in to add new notes.