Update RedisCacheable#cache_attribute_key

This commit is contained in:
Matija Čupić 2018-02-05 20:43:23 +01:00
parent 8f557206d8
commit aab953da7d
No known key found for this signature in database
GPG key ID: 4BAF84FFACD2E5DE

View file

@ -27,7 +27,7 @@ module RedisCacheable
private
def cache_attribute_key
"#{self.class.name}:attributes:#{self.id}"
"cache:#{self.class.name}:#{self.id}:attributes"
end
def cached_attributes