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 ⇒ Object
15 16 17 |
# File 'lib/action_cable/server/worker/active_record_connection_management.rb', line 15 def with_database_connections connection.logger.tag(ActiveRecord::Base.logger) { yield } end |