module Clear::Validation::Helper
Direct including types
Defined in:
clear/model/validation/helper.crMacro Summary
-
ensure_than(field, message, &block)
Usage example:
- on_presence(*fields, &block)
Macro Detail
macro ensure_than(field, message, &block)
#
Usage example:
ensure_than email, "must be an email" do |v|
EmailRegexp.valid?(v)
end