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
1 changed files with 1 additions and 1 deletions

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