aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2019-01-14 16:00:26 -0500
committerRafael Mendonça França <rafaelmfranca@gmail.com>2019-01-17 16:08:32 -0500
commit90d7842186591cae364fab3320b524e4d31a7d7d (patch)
treecfcce7dbd7e6e2f39f5109c975472980a56c5465 /activerecord/lib/active_record
parent27b252d6a85e300c7236d034d55ec8e44f57a83e (diff)
downloadrails-90d7842186591cae364fab3320b524e4d31a7d7d.tar.gz
rails-90d7842186591cae364fab3320b524e4d31a7d7d.tar.bz2
rails-90d7842186591cae364fab3320b524e4d31a7d7d.zip
Remove deprecated `ActiveRecord::Migrator.migrations_path=`
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r--activerecord/lib/active_record/migration.rb7
1 files changed, 0 insertions, 7 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb
index eca64eb380..4b2e9ed81c 100644
--- a/activerecord/lib/active_record/migration.rb
+++ b/activerecord/lib/active_record/migration.rb
@@ -1169,13 +1169,6 @@ module ActiveRecord
class << self
attr_accessor :migrations_paths
- def migrations_path=(path)
- ActiveSupport::Deprecation.warn \
- "`ActiveRecord::Migrator.migrations_path=` is now deprecated and will be removed in Rails 6.0. " \
- "You can set the `migrations_paths` on the `connection` instead through the `database.yml`."
- self.migrations_paths = [path]
- end
-
# For cases where a table doesn't exist like loading from schema cache
def current_version
MigrationContext.new(migrations_paths).current_version