Permalink
Browse files

memcached's Rails::Memcache#delete isn't compatible, fix it

  • Loading branch information...
1 parent 4e7dc50 commit 9669d31f687d659a1f0f47b073a08092b70b052e @actsasflinn committed Dec 30, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 vendor/plugins/cache_contrib/lib/active_support/cache/memcached_store.rb
@@ -35,7 +35,7 @@ def write(key, value, options = nil)
def delete(key, options = nil)
super
- response = @data.delete(key, expires_in(options))
+ response = @data.delete(key)
response == nil
rescue Memcached::Error => e
logger.error("Memcached::Error (#{e}): #{e.message}")

0 comments on commit 9669d31

Please sign in to comment.