diff options
-rw-r--r-- | .rubocop_todo.yml | 6 | ||||
-rw-r--r-- | config/initializers/10-patches.rb | 1 |
2 files changed, 1 insertions, 6 deletions
diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 5f4cd446d..2a40ece79 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -29,12 +29,6 @@ Layout/EmptyLineAfterGuardClause: - 'lib/redmine/wiki_formatting/textile/redcloth3.rb' # This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EmptyLineBetweenMethodDefs, EmptyLineBetweenClassDefs, EmptyLineBetweenModuleDefs, DefLikeMacros, AllowAdjacentOneLineDefs, NumberOfEmptyLines. -Layout/EmptyLineBetweenDefs: - Exclude: - - 'config/initializers/10-patches.rb' - -# This cop supports safe autocorrection (--autocorrect). Layout/EmptyLines: Exclude: - 'config/routes.rb' diff --git a/config/initializers/10-patches.rb b/config/initializers/10-patches.rb index df8afc291..716330641 100644 --- a/config/initializers/10-patches.rb +++ b/config/initializers/10-patches.rb @@ -8,6 +8,7 @@ module ActiveRecord undef open end end + class Relation ; undef open ; end end |