module ActionCable::Server::Worker::ActiveRecordConnectionManagement

Public Instance Methods

with_database_connections() { || ... } click to toggle source
# File lib/action_cable/server/worker/active_record_connection_management.rb, line 13
def with_database_connections
  connection.logger.tag(ActiveRecord::Base.logger) { yield }
end