diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-09-17 10:07:38 +0300 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2018-09-17 11:17:01 +0300 |
commit | d48a9ebe9a81004e7d6354a2ad882facee4995ca (patch) | |
tree | 017d0c5fb47823b5243330e1111e9ca353fa108a /railties/lib | |
parent | fca8da18ac31dbff5da6549258f44090f911f626 (diff) | |
download | rails-d48a9ebe9a81004e7d6354a2ad882facee4995ca.tar.gz rails-d48a9ebe9a81004e7d6354a2ad882facee4995ca.tar.bz2 rails-d48a9ebe9a81004e7d6354a2ad882facee4995ca.zip |
Fix deprecation warning of `ActiveRecord::Migrator.migrations_path=`
`ActiveRecord::Migrator.migrations_path=` was deprecated in #31727.
This commit fixes:
- `ActiveRecord::Migrator.migrations_path=` is deprecated, but not
`ActiveRecord::Migrator.migrations_paths=`
- Adds missing space
The warning including this commit:
```
DEPRECATION WARNING: `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`.
```
Since it was deprecated in Rails 5.2 we should backport it to the `5-2-stable` branch.
Related to #31727
Diffstat (limited to 'railties/lib')
0 files changed, 0 insertions, 0 deletions