module CQL::ActiveRecord::Validations::Predicates

Included Modules

Direct including types

Defined in:

active_record/validations.cr

Instance methods inherited from module CQL::ActiveRecord::Validations::Required

required?(value, other) required?

Instance methods inherited from module CQL::ActiveRecord::Validations::Presence

presence?(value, other) presence?

Instance methods inherited from module CQL::ActiveRecord::Validations::Size

size?(value, size : AllNumbers)
size?(value, size : Range)
size?

Instance methods inherited from module CQL::ActiveRecord::Validations::RegularExpression

match?(value : String, regex : Regex) match?

Instance methods inherited from module CQL::ActiveRecord::Validations::LessThanOrEqual

lte?(value : AllNumbers, compare : AllNumbers)
lte?(value : Time, compare : Time)
lte?

Instance methods inherited from module CQL::ActiveRecord::Validations::LessThan

lt?(value : AllNumbers, compare : AllNumbers)
lt?(value : Time, compare : Time)
lt?

Instance methods inherited from module CQL::ActiveRecord::Validations::Inclusion

in?(value, included : Array)
in?(value, included : Range)
in?

Instance methods inherited from module CQL::ActiveRecord::Validations::GreaterThanOrEqual

gte?(value : AllNumbers, compare : AllNumbers)
gte?(value : Time, compare : Time)
gte?

Instance methods inherited from module CQL::ActiveRecord::Validations::GreaterThan

gt?(value : AllNumbers, compare : AllNumbers)
gt?(value : Float, compare : Float)
gt?(value : Time, compare : Time)
gt?

Instance methods inherited from module CQL::ActiveRecord::Validations::Exclusion

exclude?(value, exclusion : Array)
exclude?(value, exclusion : Range)
exclude?

Instance methods inherited from module CQL::ActiveRecord::Validations::Equal

eq?(value, other) eq?