We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 29839e4 commit 8369852Copy full SHA for 8369852
ruby/ql/src/queries/performance/CouldBeHoisted.qhelp
@@ -16,7 +16,7 @@ This query identifies situations where an ActiveRecord query execution could be
16
<example>
17
<p>The following (suboptimal) example code queries the User object in each iteration of the loop:</p>
18
<sample src="examples/straight_loop.rb" />
19
-<p>To improve the performance, we instead query the User object once outside the loop, gathereing all necessary information:
+<p>To improve the performance, we instead query the User object once outside the loop, gathereing all necessary information:</p>
20
<sample src="examples/preload.rb" />
21
</example>
22
</qhelp>
0 commit comments