Module: ActiveRecord::DebugErrors::DisplayConnectionOwners
- Included in:
- ConnectionAdapters::ConnectionPool
- Defined in:
- lib/activerecord/debug_errors/ext/connection_adapters/connection_pool.rb
Instance Method Summary collapse
Instance Method Details
#acquire_connection(*args) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/activerecord/debug_errors/ext/connection_adapters/connection_pool.rb', line 6 def acquire_connection(*args) super rescue ActiveRecord::ConnectionTimeoutError dump_threads if ActiveRecord::Base.logger raise end |