1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib
bogdanvlviv d48a9ebe9a
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
2018-09-17 11:17:01 +03:00
..
active_record Fix deprecation warning of ActiveRecord::Migrator.migrations_path= 2018-09-17 11:17:01 +03:00
arel Remove unused existing arg in SelectManager#collapse 2018-09-11 19:18:43 +09:00
rails/generators Add migrations_paths option to migration generator 2018-08-30 11:18:40 -04:00
active_record.rb Refactors Active Record connection management 2018-08-30 10:06:45 -04:00
arel.rb Arel: :nodoc: all 2018-02-24 18:11:47 +10:30