Update RedisCacheable#cache_attribute_key
This commit is contained in:
parent
8f557206d8
commit
aab953da7d
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue