Takarik::Data::Validations
Instance methods
errors
Sourceerrors_full_messages
Sourceinvalid?
Sourcevalid?
Sourcevalidate
SourceMacros
validates(field, **options)
Generic validates macro (Rails-style) - dispatches to specific validation macros
validates_format_of(field, with regex, message = nil)
Sourcevalidates_length_of(field, **options)
Sourcevalidates_numericality_of(field, **options)
Sourcevalidates_uniqueness_of(*fields)
Source