Module: Rack
- Defined in:
- lib/mini_profiler/config.rb,
lib/mini_profiler/profiler.rb,
lib/mini_profiler/timer_struct.rb,
lib/mini_profiler/body_add_proxy.rb,
lib/mini_profiler/sql_timer_struct.rb,
lib/mini_profiler/page_timer_struct.rb,
lib/mini_profiler/profiling_methods.rb,
lib/mini_profiler/storage/file_store.rb,
lib/mini_profiler/client_timer_struct.rb,
lib/mini_profiler/storage/redis_store.rb,
lib/mini_profiler/request_timer_struct.rb,
lib/mini_profiler/storage/memory_store.rb,
lib/mini_profiler/storage/abstract_store.rb,
lib/patches/sql_patches.rb
Defined Under Namespace
Classes: MiniProfiler
Class Method Summary collapse
Class Method Details
.insert_instrumentation ⇒ Object
175 176 177 178 179 |
# File 'lib/patches/sql_patches.rb', line 175 def self.insert_instrumentation ActiveRecord::ConnectionAdapters::AbstractAdapter.module_eval do include ::Rack::MiniProfiler::ActiveRecordInstrumentation end end |