instance method
invalid?
Ruby on Rails 2.3.18
Since v2.3.18 Last seen in v2.3.18Signature
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