Marten::DB::Field::String
Inherits Marten::DB::Field::Base < Reference < Object
Constructors
Instance methods
Extracts the field value from a DB result set and returns the right object corresponding to this value.
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.