Skip to content
Snippets Groups Projects
Commit fcfda460 authored by Jérémy Lecour's avatar Jérémy Lecour
Browse files

The `del` method must be defined on the cache store too

parent 82df1150
No related branches found
No related tags found
No related merge requests found
......@@ -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).
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment