aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Hawthorn <john@hawthorn.email>2019-02-07 15:39:31 -0800
committerJohn Hawthorn <john@hawthorn.email>2019-02-07 15:41:43 -0800
commit4295aaf758838fc4d3eb7d41ac26dde26a5d61db (patch)
treecee46a50d9290c331b119cadf6dc1ecabc4344a7
parent3302d2c2e6154470647eab1df3ea3048ca17139a (diff)
downloadrails-4295aaf758838fc4d3eb7d41ac26dde26a5d61db.tar.gz
rails-4295aaf758838fc4d3eb7d41ac26dde26a5d61db.tar.bz2
rails-4295aaf758838fc4d3eb7d41ac26dde26a5d61db.zip
Update CHANGELOG for database_resolver_context
-rw-r--r--activerecord/CHANGELOG.md4
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*