We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a003f94 + 182a1c9 commit 2c62f07Copy full SHA for 2c62f07
lib/rubocop/cop/rails_cops.rb
@@ -1,13 +1,5 @@
1
# frozen_string_literal: true
2
3
-module RuboCop
4
- # RuboCop included the Rails cops directly before version 1.0.0.
5
- # We can remove them to avoid warnings about redefining constants.
6
- module Cop
7
- remove_const('Rails') if const_defined?('Rails', false)
8
- end
9
-end
10
-
11
require_relative 'mixin/target_rails_version'
12
13
require_relative 'rails/action_filter'
0 commit comments