mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 07:16:49 +00:00
Move serializer caching from adapter
This commit is contained in:
@@ -68,7 +68,7 @@ module ActiveModel
|
||||
# @api private
|
||||
# maps attribute value to explict key name
|
||||
# @see Serializer::attribute
|
||||
# @see Adapter::FragmentCache#fragment_serializer
|
||||
# @see FragmentCache#fragment_serializer
|
||||
def _attributes_keys
|
||||
_attributes_data
|
||||
.each_with_object({}) do |(key, attr), hash|
|
||||
|
||||
Reference in New Issue
Block a user