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 4e0e4f9 commit 30f2469Copy full SHA for 30f2469
ruby/ql/lib/codeql/ruby/frameworks/ActiveRecord.qll
@@ -321,6 +321,7 @@ class ActiveRecordInstance extends DataFlow::Node {
321
322
ActiveRecordInstance() { this = instantiation or instantiation.flowsTo(this) }
323
324
+ /** Gets the `ActiveRecordModelClass` that this is an instance of. */
325
ActiveRecordModelClass getClass() { result = instantiation.getClass() }
326
}
327
0 commit comments