Skip to content

Commit 5d5bf63

Browse files
authored
Merge pull request rails#53152 from byroot/check-pending-dead-code
Get rid of CheckPending#connection
2 parents b050366 + 3a61188 commit 5d5bf63

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

activerecord/lib/active_record/migration.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -678,10 +678,6 @@ def build_watcher(&block)
678678
paths = all_configs.flat_map { |config| config.migrations_paths || Migrator.migrations_paths }.uniq
679679
@file_watcher.new([], paths.index_with(["rb"]), &block)
680680
end
681-
682-
def connection
683-
ActiveRecord::Tasks::DatabaseTasks.migration_connection
684-
end
685681
end
686682

687683
class << self

0 commit comments

Comments
 (0)