mirror of
https://github.com/github/codeql.git
synced 2026-04-18 21:44:02 +02:00
Merge pull request #18304 from yoff/ruby/performance-queries
Ruby: Query for database calls in a loop
This commit is contained in:
@@ -254,9 +254,8 @@ private Expr getUltimateReceiver(MethodCall call) {
|
||||
)
|
||||
}
|
||||
|
||||
// A call to `find`, `where`, etc. that may return active record model object(s)
|
||||
private class ActiveRecordModelFinderCall extends ActiveRecordModelInstantiation, DataFlow::CallNode
|
||||
{
|
||||
/** A call to `find`, `where`, etc. that may return active record model object(s) */
|
||||
class ActiveRecordModelFinderCall extends ActiveRecordModelInstantiation, DataFlow::CallNode {
|
||||
private ActiveRecordModelClass cls;
|
||||
|
||||
ActiveRecordModelFinderCall() {
|
||||
|
||||
Reference in New Issue
Block a user