Module: RedisModelExtension::StoreKeys

Defined in:
lib/redis-model-extension/store_keys.rb

Instance Method Summary collapse

Instance Method Details

#store_keysObject

store old arguments, need’s to be called in find/get initialization will remember old arguments and remember redis keys if some fileds in redis key will change, then do rename without this you can end up with old and new saved object!



9
10
11
# File 'lib/redis-model-extension/store_keys.rb', line 9

def store_keys
  store_redis_keys
end