aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-09-17 20:04:07 +0900
committerGitHub <noreply@github.com>2018-09-17 20:04:07 +0900
commit11581afc01927565d57dd0e0156e983f92f8c2e0 (patch)
tree4e2c398d2bdbc4106267286cee37bc41d172aa22
parent18a1c750cc5b74ddc1971f9cf5afc66a39ae5d3f (diff)
parentd48a9ebe9a81004e7d6354a2ad882facee4995ca (diff)
downloadrails-11581afc01927565d57dd0e0156e983f92f8c2e0.tar.gz
rails-11581afc01927565d57dd0e0156e983f92f8c2e0.tar.bz2
rails-11581afc01927565d57dd0e0156e983f92f8c2e0.zip
Merge pull request #33902 from bogdanvlviv/related-to-31727
Fix deprecation warning of `ActiveRecord::Migrator.migrations_path=`
-rw-r--r--activerecord/lib/active_record/migration.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb
index ea53324829..807b882bfb 100644
--- a/activerecord/lib/active_record/migration.rb
+++ b/activerecord/lib/active_record/migration.rb
@@ -1169,7 +1169,7 @@ module ActiveRecord
def migrations_path=(path)
ActiveSupport::Deprecation.warn \
- "ActiveRecord::Migrator.migrations_paths= is now deprecated and will be removed in Rails 6.0." \
+ "`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