Skip to content

Commit 11581af

Browse files
authored
Merge pull request rails#33902 from bogdanvlviv/related-to-31727
Fix deprecation warning of `ActiveRecord::Migrator.migrations_path=`
2 parents 18a1c75 + d48a9eb commit 11581af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/lib/active_record/migration.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,7 @@ class << self
11691169

11701170
def migrations_path=(path)
11711171
ActiveSupport::Deprecation.warn \
1172-
"ActiveRecord::Migrator.migrations_paths= is now deprecated and will be removed in Rails 6.0." \
1172+
"`ActiveRecord::Migrator.migrations_path=` is now deprecated and will be removed in Rails 6.0. " \
11731173
"You can set the `migrations_paths` on the `connection` instead through the `database.yml`."
11741174
self.migrations_paths = [path]
11751175
end

0 commit comments

Comments
 (0)