active_model_serializers/lib/active_model/serializer/adapter
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
..
json Introduce Adapter::Base 2015-09-20 12:26:04 -05:00
json_api Add support for dynamic string-links in JsonApi adapter. 2016-01-15 14:36:42 +01:00
attributes.rb Compute only requested attributes. 2015-10-31 19:20:53 +01:00
base.rb Move meta/meta_key handling inside adapter. 2015-10-05 19:06:50 +02:00
cached_serializer.rb Introduce Adapter::Base 2015-09-20 12:26:04 -05:00
fragment_cache.rb Preserve the serializer type when fragment caching 2016-02-09 22:35:32 -06:00
json_api.rb Add support for dynamic string-links in JsonApi adapter. 2016-01-15 14:36:42 +01:00
json.rb Fix options passing in Json and Attributes adapters. 2015-09-21 07:13:17 +02:00
null.rb Introduce Adapter::Base 2015-09-20 12:26:04 -05:00