class method
self.instrument=
Ruby on Rails 3.2.22.5
Since v3.0.20 Last seen in v4.2.9Signature
self.instrument=(boolean)
Set to true if cache stores should be instrumented. Default is false.
Parameters
-
booleanreq
Source
# File activesupport/lib/active_support/cache.rb, line 171
def self.instrument=(boolean)
Thread.current[:instrument_cache_store] = boolean
end
Defined in activesupport/lib/active_support/cache.rb line 171
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveSupport::Cache::Store