module ActiveModel::Validation

Defined in:

active-model/validation.cr

Instance Method Summary

Macro Summary

Instance Method Detail

def errors #

[View source]
def invalid? #

[View source]
def valid? #

[View source]

Macro Detail

macro validate(field, message, block, positive = nil, negative = nil, **options) #

[View source]
macro validate(message, block, **options) #

[View source]
macro validate(block, **options) #

[View source]
macro validates(*fields, presence = false, numericality = nil, confirmation = nil, format = nil, inclusion = nil, exclusion = nil, length = nil, absence = nil, **options) #

[View source]