aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/tasks
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-01-19 14:56:04 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-01-19 14:56:04 +0900
commitfa17fcc32fa890b70a6bf292bbc391f62be2eaec (patch)
treee45f3da53398ed8a53bb8e7da7de73044cbafde2 /activerecord/lib/active_record/tasks
parentf5c4b7cf13b6e0703971968a44d3b1a9df9744fd (diff)
downloadrails-fa17fcc32fa890b70a6bf292bbc391f62be2eaec.tar.gz
rails-fa17fcc32fa890b70a6bf292bbc391f62be2eaec.tar.bz2
rails-fa17fcc32fa890b70a6bf292bbc391f62be2eaec.zip
Remove unused `migration_context` in `DatabaseTasks`
This was added in #31727, but it is unused.
Diffstat (limited to 'activerecord/lib/active_record/tasks')
-rw-r--r--activerecord/lib/active_record/tasks/database_tasks.rb4
1 files changed, 0 insertions, 4 deletions
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"])