redis_buddy 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/redis_buddy/cache_store.rb +1 -1
- metadata +2 -2
@@ -19,7 +19,7 @@ module ActiveSupport
|
|
19
19
|
@data.send(:setex, options[:expire], value)
|
20
20
|
end
|
21
21
|
end
|
22
|
-
@data.send(method, key, value, options) if options.is_a?(Integer) || !options[:expire]
|
22
|
+
@data.send(method, key, value, options) if options.is_a?(Integer) || !options || (options && !options[:expire])
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|