Skip to content

Commit 8369852

Browse files
committed
rb: fix qhelp
1 parent 29839e4 commit 8369852

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/ql/src/queries/performance/CouldBeHoisted.qhelp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ This query identifies situations where an ActiveRecord query execution could be
1616
<example>
1717
<p>The following (suboptimal) example code queries the User object in each iteration of the loop:</p>
1818
<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:
19+
<p>To improve the performance, we instead query the User object once outside the loop, gathereing all necessary information:</p>
2020
<sample src="examples/preload.rb" />
2121
</example>
2222
</qhelp>

0 commit comments

Comments
 (0)