Class: SolidCache::Record
- Inherits:
-
ActiveRecord::Base
- Object
- ActiveRecord::Base
- SolidCache::Record
- Defined in:
- app/models/solid_cache/record.rb
Direct Known Subclasses
Constant Summary collapse
- NULL_INSTRUMENTER =
ActiveSupport::Notifications::Instrumenter.new(ActiveSupport::Notifications::Fanout.new)
Class Method Summary collapse
Class Method Details
.disable_instrumentation ⇒ Object
10 11 12 13 14 |
# File 'app/models/solid_cache/record.rb', line 10 def disable_instrumentation connection.with_instrumenter(NULL_INSTRUMENTER) do yield end end |