Methods
Instance Public methods
with_database_connections(&block)
📝 Source code
# File actioncable/lib/action_cable/server/worker/active_record_connection_management.rb, line 15
def with_database_connections(&block)
connection.logger.tag(ActiveRecord::Base.logger, &block)
end
🔎 See on GitHub