method
synchronize
rails 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.
synchronize(&block)Synchronize calls to the cache. This should be called wherever the underlying cache implementation is not thread safe.