Module: ActionCable::Server::Worker::ActiveRecordConnectionManagement
- Extended by:
- ActiveSupport::Concern
- Included in:
- ActionCable::Server::Worker
- Defined in:
- lib/action_cable/server/worker/active_record_connection_management.rb
Instance Method Summary collapse
Instance Method Details
#with_database_connections(&block) ⇒ Object
15 16 17 |
# File 'lib/action_cable/server/worker/active_record_connection_management.rb', line 15 def with_database_connections(&block) connection.logger.tag(ActiveRecord::Base.logger, &block) end |