module RequestLocalCache

Constants

VERSION

Public Class Methods

clear!() click to toggle source
# File lib/request_local_cache.rb, line 11
def self.clear!
  Thread.current[:request_local_store] = nil
end
store() click to toggle source
# File lib/request_local_cache.rb, line 6
def self.store
  Thread.current[:request_local_store] ||=
    ActiveSupport::Cache::Strategy::LocalCache::LocalStore.new
end