Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6d3f87f commit d9487a0Copy full SHA for d9487a0
1 file changed
ruby/ql/lib/codeql/ruby/frameworks/ActiveRecord.qll
@@ -607,7 +607,7 @@ class ActiveRecordAssociation extends DataFlow::CallNode {
607
*/
608
bindingset[input]
609
bindingset[result]
610
-string pluralize(string input) {
+private string pluralize(string input) {
611
exists(string stem | stem + "y" = input | result = stem + "ies")
612
or
613
not exists(string stem | stem + "s" = input) and
0 commit comments