Methods
Instance Public methods
with_database_connections(&block)
📝 Source code
# 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
🔎 See on GitHub