active_model_serializers/lib/active_model
Brian McManus d67f7da114 Preserve the serializer type when fragment caching
We were not previously cloning the type setting into the dynamically
generated cached/non-cached serializers for a given fragment-cached
serializer. This led to the type generated for JsonApi having the wrong
value when fragment caching is enabled by adding either :except or :only
options to cache.

This pulls the type setting from the fragment-cached serializer forward
onto the dynamic caching classes so it is preserved in the output.
2016-02-09 22:35:32 -06:00
..
serializer Preserve the serializer type when fragment caching 2016-02-09 22:35:32 -06:00
serializable_resource.rb Clean up notification code with some meta-prog 2015-11-10 03:09:24 -06:00
serializer.rb Extract links and type-related methods to their own module. 2016-01-12 15:05:39 +01:00