方法
实例公共方法
with_database_connections(&block) 链接
源代码: 显示 | 在 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