module

Lustra::Validation::Helper

Macros

ensure_than(field, message, &block)

Usage example:

ensure_than email, "must be an email" do |v|
  EmailRegexp.valid?(v)
end
Source
on_presence(*fields, &block)
Source