lib/simply_serializable/serializer.rb in simply_serializable-1.5.0 vs lib/simply_serializable/serializer.rb in simply_serializable-1.5.1
- old
+ new
@@ -174,10 +174,10 @@
cache: @local_cache,
do_not_serialize_if_class_is: do_not_serialize_if_class_is,
object: use_object
)
else
- use_object.serializer(cache: @local_cache)
+ use_object.simply_serializer(cache: @local_cache)
end
@local_cache.merge!(serializer.cache)
reference_to(use_object_cache_key)
end