Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
sandstone
master
Sandstone
Adapter
Base
Sqlite
ORM
Associations
Base
Callbacks
Error
Fields
Type
Querying
Settings
Table
Transactions
Validators
Built with Crystal 1.9.2
2023-10-07 18:03:18 UTC
module
Sandstone::ORM::Validators
Direct including types
Sandstone::ORM::Base
Defined in:
sandstone/validators.cr
Instance Method Summary
#errors
#errors=
(errors)
#valid?
Macro Summary
validate
(message, block)
validate
(field, message, block)
Instance Method Detail
def
errors
#
[
View source
]
def
errors=
(errors)
#
[
View source
]
def
valid?
#
[
View source
]
Macro Detail
macro
validate
(message, block)
#
[
View source
]
macro
validate
(field, message, block)
#
[
View source
]