diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-01-19 14:56:04 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-01-19 14:56:04 +0900 |
commit | fa17fcc32fa890b70a6bf292bbc391f62be2eaec (patch) | |
tree | e45f3da53398ed8a53bb8e7da7de73044cbafde2 | |
parent | f5c4b7cf13b6e0703971968a44d3b1a9df9744fd (diff) | |
download | rails-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.
-rw-r--r-- | activerecord/lib/active_record/tasks/database_tasks.rb | 4 |
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"]) |