instance method invalid?

Ruby on Rails 2.3.18

Since v2.3.18 Last seen in v2.3.18

Signature

invalid?()

Performs the opposite of valid?. Returns true if errors were added, false otherwise.

Source
# File activerecord/lib/active_record/validations.rb, line 1124
    def invalid?
      !valid?
    end

Defined in activerecord/lib/active_record/validations.rb line 1124 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::Validations

Type at least 2 characters to search.

↑↓ navigate · open · esc close