module Granite::ValidationHelpers
Direct including types
Defined in:
granite/validation_helpers/blank.crgranite/validation_helpers/choice.cr
granite/validation_helpers/exclusion.cr
granite/validation_helpers/inequality.cr
granite/validation_helpers/length.cr
granite/validation_helpers/nil.cr
granite/validation_helpers/uniqueness.cr
Macro Summary
- validate_exclusion(field, excluded_values)
- validate_greater_than(field, amount, or_equal_to = false)
- validate_is_blank(field)
- validate_is_nil(field)
- validate_is_valid_choice(field, choices)
- validate_less_than(field, amount, or_equal_to = false)
- validate_max_length(field, length)
- validate_min_length(field, length)
- validate_not_blank(field)
- validate_not_nil(field)
- validate_uniqueness(field)