Marten::DB::Field::Email
Inherits Marten::DB::Field::String < Marten::DB::Field::Base < Reference < Object
Represents an email field.
Constructors
Instance methods
validate(record, value)
Runs custom validation logic for a specific model field and model object.
This method should be overridden for each field implementation that requires custom validation logic.
Macros
check_definition(field_id, kwargs)
Source