ActionCable::Server::Worker::ActiveRecordConnectionManagement Ruby on Rails 5.1.2 Module ActionCable::Server::Worker::ActiveRecordConnectionManagement actioncable/lib/action_cable/server/worker/active_record_connection_management.rb Namespace MODULE ActionCable::Server::Worker::ActiveRecordConnectionManagement::ActiveRecord Methods W with_database_connections Instance Public methods with_database_connections() Link Source: show | on GitHub # File actioncable/lib/action_cable/server/worker/active_record_connection_management.rb, line 13 def with_database_connections connection.logger.tag(ActiveRecord::Base.logger) { yield } end