diff options
author | John Hawthorn <john@hawthorn.email> | 2019-02-07 15:39:31 -0800 |
---|---|---|
committer | John Hawthorn <john@hawthorn.email> | 2019-02-07 15:41:43 -0800 |
commit | 4295aaf758838fc4d3eb7d41ac26dde26a5d61db (patch) | |
tree | cee46a50d9290c331b119cadf6dc1ecabc4344a7 | |
parent | 3302d2c2e6154470647eab1df3ea3048ca17139a (diff) | |
download | rails-4295aaf758838fc4d3eb7d41ac26dde26a5d61db.tar.gz rails-4295aaf758838fc4d3eb7d41ac26dde26a5d61db.tar.bz2 rails-4295aaf758838fc4d3eb7d41ac26dde26a5d61db.zip |
Update CHANGELOG for database_resolver_context
-rw-r--r-- | activerecord/CHANGELOG.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index e957361ec3..f16a746b91 100644 --- a/activerecord/CHANGELOG.md +++ b/activerecord/CHANGELOG.md @@ -29,7 +29,7 @@ ``` config.active_record.database_selector = { delay: 2.seconds } config.active_record.database_resolver = ActiveRecord::Middleware::DatabaseSelector::Resolver - config.active_record.database_operations = ActiveRecord::Middleware::DatabaseSelector::Resolver::Session + config.active_record.database_resolver_context = ActiveRecord::Middleware::DatabaseSelector::Resolver::Session ``` To change the database selection strategy, pass a custom class to the @@ -38,7 +38,7 @@ ``` config.active_record.database_selector = { delay: 10.seconds } config.active_record.database_resolver = MyResolver - config.active_record.database_operations = MyResolver::MyCookies + config.active_record.database_resolver_context = MyResolver::MyCookies ``` *Eileen M. Uchitelle* |