Skip to content

Commit d9487a0

Browse files
committed
Ruby: Make helper predicate private
1 parent 6d3f87f commit d9487a0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby/ql/lib/codeql/ruby/frameworks/ActiveRecord.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,7 @@ class ActiveRecordAssociation extends DataFlow::CallNode {
607607
*/
608608
bindingset[input]
609609
bindingset[result]
610-
string pluralize(string input) {
610+
private string pluralize(string input) {
611611
exists(string stem | stem + "y" = input | result = stem + "ies")
612612
or
613613
not exists(string stem | stem + "s" = input) and

0 commit comments

Comments
 (0)