Select Git revision
active_record_query_trace.rb
Forked from
GitLab.org / GitLab FOSS
13204 commits behind the upstream repository.
-
Yorick Peterse authored
This can be used to track down where queries originate from, regardless of whether they're caused by N+1 problems or not. This can be enabled by setting the environment variable ENABLE_QUERY_TRACE to a non-empty value (e.g. "true").
Yorick Peterse authoredThis can be used to track down where queries originate from, regardless of whether they're caused by N+1 problems or not. This can be enabled by setting the environment variable ENABLE_QUERY_TRACE to a non-empty value (e.g. "true").