class

Marten::DB::Field::Image

Inherits Marten::DB::Field::File / Marten::DB::Field::Base / Reference / Object

Represents an image field.

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.

Source

Macros

check_definition(field_id, kwargs)
Source