Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
cql
v0.0.240
Aggregatable
Buildable
CQL
ActiveRecord
Attributes
Callbacks
Definition
Deleteable
Identifyable
Insertable
Model
OptimisticLocking
Pagination
Persistence
Queryable
ChainableQuery
Relations
BelongsTo
Collection
HasMany
HasOne
ManyCollection
ManyToMany
Scopes
Transactional
Updateable
Validations
AllNumbers
Constraint
CustomValidator
Equal
Error
Errors
Exclusion
GreaterThan
GreaterThanOrEqual
Inclusion
LessThan
LessThanOrEqual
Predicates
Presence
RegularExpression
Required
Size
ValidationError
Adapter
AlterTable
BaseMigration
CheckConstraint
Column
ConnectionError
Delete
DialectError
Error
ErrorHandler
ForeignKey
Index
Insert
JSONBConverter
MergeQuery
Migration
MigrationRecord
Migrator
MySqlUnsupportedFeatureError
OptimisticLockError
PrimaryKey
PrimaryKeyType
Query
QueryTableInfo
RecordInvalid
RecordNotFound
RecordNotFoundError
RecordNotSaved
Repository
Schema
ConnectionError
Error
InvalidURIError
VersionConflictError
SQLiteUnsupportedFeatureError
Table
UniqueConstraint
Update
ValidationError
Executable
Filterable
InternalHelpers
Joinable
Modifiable
Selectable
TableManagement
Generated using Crystal 1.16.0
2025-05-11 18:52:51 UTC
module
CQL::
ActiveRecord::
Validations::
Size
Direct including types
CQL::ActiveRecord::Validations::Predicates
Defined in:
active_record/validations.cr
Instance Method Summary
#size?
(value, size : AllNumbers)
#size?
(value, size : Range)
Instance Method Detail
def
size?
(value, size :
AllNumbers
)
#
[
View source
]
def
size?
(value, size : Range)
#
[
View source
]