Exception: Protobuf::ActiveRecord::FieldTransformerError

Inherits:
ProtobufActiveRecordError show all
Defined in:
lib/protobuf/active_record/errors.rb

Overview

Raised by ‘field_from_record` when the convert method given not callable.

Instance Method Summary collapse

Instance Method Details

#messageObject



20
21
22
# File 'lib/protobuf/active_record/errors.rb', line 20

def message
  "Field transformers must be called with a callable or block!"
end