File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change 55### Bug fixes
66
77* [ #43 ] ( https://github.com/rubocop-hq/rubocop-rails/issues/43 ) : Remove ` change_column_null ` method from ` BulkChangeTable ` cop offenses. ([ @anthony-robin ] [ ] )
8+ * [ #79 ] ( https://github.com/rubocop-hq/rubocop-rails/issues/79 ) : Fix ` RuboCop::Cop::Rails not defined (NameError) ` . ([ @rmm5t ] [ ] )
89
910### Changes
1011
2728[ @andyw8 ] : https://github.com/andyw8
2829[ @buehmann ] : https://github.com/buehmann
2930[ @anthony-robin ] : https://github.com/anthony-robin
31+ [ @rmm5t ] : https://github.com/rmm5t
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ module RuboCop
44 # RuboCop included the Rails cops directly before version 1.0.0.
55 # We can remove them to avoid warnings about redefining constants.
66 module Cop
7- remove_const ( 'Rails' ) if const_defined? ( 'Rails' )
7+ remove_const ( 'Rails' ) if const_defined? ( 'Rails' , false )
88 end
99end
1010
You can’t perform that action at this time.
0 commit comments