Skip to content

Commit 9be2512

Browse files
committed
Ruby: rename one of the PostsController2 classes
These had the same name and ended up being unified
1 parent b4b34cc commit 9be2512

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

ruby/ql/test/library-tests/frameworks/ActionController.expected

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ actionControllerControllerClasses
66
| active_record/ActiveRecord.rb:41:1:64:3 | BarController |
77
| active_record/ActiveRecord.rb:66:1:98:3 | BazController |
88
| active_record/ActiveRecord.rb:100:1:108:3 | AnnotatedController |
9+
| active_storage/active_storage.rb:39:1:45:3 | PostsController2 |
910
| app/controllers/comments_controller.rb:1:1:40:3 | CommentsController |
1011
| app/controllers/foo/bars_controller.rb:3:1:46:3 | BarsController |
1112
| app/controllers/photos_controller.rb:1:1:4:3 | PhotosController |

ruby/ql/test/library-tests/frameworks/active_storage/active_storage.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ class Post < ActiveRecord::Base
3636

3737
ActiveStorage.variant_processor = custom_processor
3838

39-
class PostsController < ActionController::Base
39+
class PostsController2 < ActionController::Base
4040
def create
4141
post = Post.new(params[:post])
4242
post.images.attach(params[:images])

0 commit comments

Comments
 (0)