Skip to content

Fix ActiveRecord metrics to handle comments

Stan Hu requested to merge sh-fix-active-record-regex into master

!54015 (merged) moved the Marginalia comments before the actual SQL query. This commit improves the regex to discard comments.

Rubular link: https://rubular.com/r/d8Xnj7o5IxoEHP

Edited by Stan Hu

Merge request reports

Loading