module ActionCable::Server::Worker::ActiveRecordConnectionManagement
Public instance methods
Source code GitHub
# File actioncable/lib/action_cable/server/worker/active_record_connection_management.rb, line 17
def with_database_connections(&block)
connection.logger.tag(ActiveRecord::Base.logger, &block)
end