ActiveModel::Validation
Instance methods
errors
Sourceinvalid?
Sourcevalid?
SourceMacros
validate(field, message, block, positive = nil, negative = nil, **options)
Sourcevalidate(message, block, **options)
Sourcevalidate(block, **options)
Sourcevalidates(*fields, presence = false, numericality = nil, confirmation = nil, format = nil, inclusion = nil, exclusion = nil, length = nil, absence = nil, **options)
Source