Class: ActiveRecord::Serialization::MsgpackSerializer

Inherits:
Serializer
  • Object
show all
Defined in:
lib/msgpack_rails/2-3/msgpack_serializer.rb

Instance Method Summary collapse

Instance Method Details

#serializeObject



11
12
13
# File 'lib/msgpack_rails/2-3/msgpack_serializer.rb', line 11

def serialize
  MessagePack.pack(serializable_record)
end