module ActiveModel::Validation
Defined in:
active-model/validation.crInstance Method Summary
Macro Summary
- validate(field, message, block, positive = nil, negative = nil, **options)
- validate(message, block, **options)
- validate(block, **options)
- validates(*fields, presence = false, numericality = nil, confirmation = nil, format = nil, inclusion = nil, exclusion = nil, length = nil, absence = nil, **options)
Instance Method Detail
Macro Detail
macro validates(*fields, presence = false, numericality = nil, confirmation = nil, format = nil, inclusion = nil, exclusion = nil, length = nil, absence = nil, **options)
#