active_model_serializers/lib
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
..
action_controller Add config.serializer_lookup_enabled that defaults true 2015-11-30 00:20:58 -06:00
active_model Preserve the serializer type when fragment caching 2016-02-09 22:35:32 -06:00
active_model_serializers combine config initializers and update comments 2016-01-16 14:08:32 -08:00
generators/rails Only load generators when needed 2016-01-15 01:52:27 -06:00
grape Grape formatter feature requested in #1258 2015-12-10 10:06:40 +00:00
active_model_serializers.rb Only call railtie when Rails is defined; assume controller loaded 2016-01-15 01:54:07 -06:00