@@ -2,6 +2,8 @@ activeRecordModelClasses
2
2
| ActiveRecordInjection.rb:1:1:3:3 | UserGroup |
3
3
| ActiveRecordInjection.rb:5:1:17:3 | User |
4
4
| ActiveRecordInjection.rb:19:1:25:3 | Admin |
5
+ | app/models/application_record.rb:1:1:3:3 | ApplicationRecord |
6
+ | app/models/user.rb:1:1:2:3 | User |
5
7
activeRecordSqlExecutionRanges
6
8
| ActiveRecordInjection.rb:10:33:10:67 | "name='#{...}' and pass='#{...}'" |
7
9
| ActiveRecordInjection.rb:23:16:23:24 | condition |
@@ -33,6 +35,18 @@ activeRecordModelClassMethodCalls
33
35
| ActiveRecordInjection.rb:85:5:85:33 | call to find_by |
34
36
| ActiveRecordInjection.rb:88:5:88:34 | call to find |
35
37
| ActiveRecordInjection.rb:94:5:94:45 | call to delete_by |
38
+ | app/controllers/users/users_controller.rb:5:7:5:44 | call to create! |
39
+ | app/controllers/users/users_controller.rb:6:7:6:29 | call to create |
40
+ | app/controllers/users/users_controller.rb:7:7:7:31 | call to insert |
41
+ | app/controllers/users/users_controller.rb:10:7:10:32 | call to update |
42
+ | app/controllers/users/users_controller.rb:11:7:11:73 | call to update! |
43
+ | app/controllers/users/users_controller.rb:14:7:14:66 | call to insert_all |
44
+ | app/controllers/users/users_controller.rb:16:14:16:25 | call to find |
45
+ | app/controllers/users/users_controller.rb:31:7:31:15 | call to last |
46
+ | app/controllers/users/users_controller.rb:31:7:31:18 | call to id |
47
+ | app/controllers/users/users_controller.rb:31:7:31:22 | ... + ... |
48
+ | app/models/application_record.rb:2:3:2:21 | call to abstract_class |
49
+ | app/models/application_record.rb:2:3:2:21 | call to abstract_class= |
36
50
potentiallyUnsafeSqlExecutingMethodCall
37
51
| ActiveRecordInjection.rb:10:5:10:68 | call to find |
38
52
| ActiveRecordInjection.rb:23:5:23:25 | call to destroy_by |
@@ -49,5 +63,12 @@ activeRecordModelInstantiations
49
63
| ActiveRecordInjection.rb:15:5:15:40 | call to find_by | ActiveRecordInjection.rb:1:1:3:3 | UserGroup |
50
64
| ActiveRecordInjection.rb:23:5:23:25 | self | ActiveRecordInjection.rb:19:1:25:3 | Admin |
51
65
| ActiveRecordInjection.rb:80:7:80:40 | call to find_by | ActiveRecordInjection.rb:5:1:17:3 | User |
66
+ | ActiveRecordInjection.rb:80:7:80:40 | call to find_by | app/models/user.rb:1:1:2:3 | User |
52
67
| ActiveRecordInjection.rb:85:5:85:33 | call to find_by | ActiveRecordInjection.rb:5:1:17:3 | User |
68
+ | ActiveRecordInjection.rb:85:5:85:33 | call to find_by | app/models/user.rb:1:1:2:3 | User |
53
69
| ActiveRecordInjection.rb:88:5:88:34 | call to find | ActiveRecordInjection.rb:5:1:17:3 | User |
70
+ | ActiveRecordInjection.rb:88:5:88:34 | call to find | app/models/user.rb:1:1:2:3 | User |
71
+ | app/controllers/users/users_controller.rb:16:14:16:25 | call to find | ActiveRecordInjection.rb:5:1:17:3 | User |
72
+ | app/controllers/users/users_controller.rb:16:14:16:25 | call to find | app/models/user.rb:1:1:2:3 | User |
73
+ | app/controllers/users/users_controller.rb:31:7:31:15 | call to last | ActiveRecordInjection.rb:5:1:17:3 | User |
74
+ | app/controllers/users/users_controller.rb:31:7:31:15 | call to last | app/models/user.rb:1:1:2:3 | User |
0 commit comments