Method: Interlock.invalidate
- Defined in:
- lib/interlock/interlock.rb
.invalidate(key) ⇒ Object
Invalidate a particular key.
148 149 150 151 152 |
# File 'lib/interlock/interlock.rb', line 148 def invalidate(key) # Console and tests do not install the local cache Interlock.local_cache.delete(key) if Interlock.local_cache ActionController::Base.cache_store.delete key end |