Skip to content

Commit 98dbe3a

Browse files
committed
Ruby: make ActiveRecord Persistence::ModifyAndSaveCall private
1 parent 8fed9f9 commit 98dbe3a

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
@@ -323,7 +323,7 @@ private module Persistence {
323323
* A call to a method that may modify or create a model object and write it to
324324
* the database. Examples include `create`, `insert`, and `update`.
325325
*/
326-
abstract class ModifyAndSaveCall extends DataFlow::CallNode, OrmWriteAccess::Range {
326+
abstract private class ModifyAndSaveCall extends DataFlow::CallNode, OrmWriteAccess::Range {
327327
/**
328328
* Holds if the given key-value pair is set on an object by this call.
329329
*/

0 commit comments

Comments
 (0)