From fcfda460365ccc076b42cacabccefa19cf8fa29e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Lecour?= <jeremy.lecour@gmail.com> Date: Mon, 24 Sep 2012 18:04:10 +0200 Subject: [PATCH] The `del` method must be defined on the cache store too --- README.rdoc | 1 + 1 file changed, 1 insertion(+) diff --git a/README.rdoc b/README.rdoc index c1dc8416..a82ad48f 100644 --- a/README.rdoc +++ b/README.rdoc @@ -384,6 +384,7 @@ This example uses Redis, but the cache store can be any object that supports the * <tt>store#[](key)</tt> - retrieves a value * <tt>store#[]=(key, value)</tt> - stores a value * <tt>store#keys</tt> - lists all keys +* <tt>store#del(url)</tt> - deletes a value Even a plain Ruby hash will work, though it's not a great choice (cleared out when app is restarted, not shared between app instances, etc). -- GitLab