mirror of
https://github.com/ditkrg/active_model_serializers.git
synced 2026-01-25 15:23:06 +00:00
Move adapter cache properties to class level (where they belong).
This commit is contained in:
@@ -318,7 +318,7 @@ module ActiveModel
|
||||
|
||||
parts = []
|
||||
parts << object_cache_key
|
||||
parts << adapter_instance.cached_name
|
||||
parts << adapter_instance.cache_key
|
||||
parts << self.class._cache_digest unless self.class._skip_digest?
|
||||
@cache_key = parts.join('/')
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user