Module: ActionCable::Server::Worker::ActiveRecordConnectionManagement

Extended by:
ActiveSupport::Concern
Included in:
ActionCable::Server::Worker
Defined in:
actioncable/lib/action_cable/server/worker/active_record_connection_management.rb

Instance Method Summary collapse

Methods included from ActiveSupport::Concern

append_features, class_methods, extended, included

Instance Method Details

#with_database_connectionsObject


15
16
17
# File 'actioncable/lib/action_cable/server/worker/active_record_connection_management.rb', line 15

def with_database_connections
  connection.logger.tag(ActiveRecord::Base.logger) { yield }
end