Exception: Protobuf::ActiveRecord::AttributeTransformerError

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

Overview

Raised by ‘attribute_from_proto` when the transformer method given is not callable.

Instance Method Summary collapse

Instance Method Details

#messageObject



12
13
14
# File 'lib/protobuf/active_record/errors.rb', line 12

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