ruby: rename query

This commit is contained in:
yoff
2025-02-06 17:07:12 +01:00
parent d9d0d3c18b
commit 51a2d8c72f
2 changed files with 3 additions and 3 deletions

View File

@@ -1,10 +1,10 @@
/**
* @name Could be hoisted
* @description Hoist Rails `ActiveRecord::Relation` query calls out of loops.
* @name Database query in a loop
* @description Database queries in a loop can lead to an unnecessary amount of database calls and poor performance.
* @kind problem
* @problem.severity info
* @precision high
* @id rb/could-be-hoisted
* @id rb/database-query-in-loop
* @tags performance
*/