Flowdock
method

bypass_local_cache

Importance_0
v3.2.8 - Show latest stable - 0 notes - Class: ActiveSupport::Cache::Strategy::LocalCache
bypass_local_cache() private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activesupport/lib/active_support/cache/strategy/local_cache.rb, line 157
          def bypass_local_cache
            save_cache = Thread.current[thread_local_key]
            begin
              Thread.current[thread_local_key] = nil
              yield
            ensure
              Thread.current[thread_local_key] = save_cache
            end
          end
Register or log in to add new notes.