From fa17fcc32fa890b70a6bf292bbc391f62be2eaec Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Fri, 19 Jan 2018 14:56:04 +0900 Subject: Remove unused `migration_context` in `DatabaseTasks` This was added in #31727, but it is unused. --- activerecord/lib/active_record/tasks/database_tasks.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'activerecord/lib/active_record/tasks') diff --git a/activerecord/lib/active_record/tasks/database_tasks.rb b/activerecord/lib/active_record/tasks/database_tasks.rb index d34fbfd4a9..ed589f9b43 100644 --- a/activerecord/lib/active_record/tasks/database_tasks.rb +++ b/activerecord/lib/active_record/tasks/database_tasks.rb @@ -85,10 +85,6 @@ module ActiveRecord @migrations_paths ||= Rails.application.paths["db/migrate"].to_a end - def migration_context - MigrationContext.new(migrations_paths) - end - def fixtures_path @fixtures_path ||= if ENV["FIXTURES_PATH"] File.join(root, ENV["FIXTURES_PATH"]) -- cgit v1.2.3