instance method
unset_local_cache
Ruby on Rails 8.1.2
Since v8.1.2Signature
unset_local_cache()
Unset the current local cache.
Source
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 77
def unset_local_cache
LocalCacheRegistry.set_cache_for(local_cache_key, nil)
end
Defined in activesupport/lib/active_support/cache/strategy/local_cache.rb line 77
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::Strategy::LocalCache