method
synchronize
v7.2.3 -
Show latest stable
- Class:
ActiveSupport::Cache::MemoryStore
synchronize(&block)public
Synchronize calls to the cache. This should be called wherever the underlying cache implementation is not thread safe.