Module: ActiveSupport::MessagePack::CacheSerializer

Extended by:
CacheSerializer
Includes:
Serializer
Included in:
CacheSerializer
Defined in:
activesupport/lib/active_support/message_pack/cache_serializer.rb

Constant Summary

Constants included from Serializer

Serializer::SIGNATURE, Serializer::SIGNATURE_INT

Instance Method Summary collapse

Methods included from Serializer

#dump, #message_pack_factory, #message_pack_factory=, #signature?, #warmup

Instance Method Details

#load(dumped) ⇒ Object



11
12
13
14
15
# File 'activesupport/lib/active_support/message_pack/cache_serializer.rb', line 11

def load(dumped)
  super
rescue ActiveSupport::MessagePack::MissingClassError
  # Treat missing class as cache miss => return nil
end