lib/active_support/cache.rb in activesupport-3.1.0.rc5 vs lib/active_support/cache.rb in activesupport-3.1.0.rc6
- old
+ new
@@ -343,10 +343,10 @@
names.each do |name|
key = namespaced_key(name, options)
entry = read_entry(key, options)
if entry
if entry.expired?
- delete_entry(key)
+ delete_entry(key, options)
else
results[name] = entry.value
end
end
end