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