aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorEileen M. Uchitelle <eileencodes@users.noreply.github.com>2019-07-03 14:42:45 -0400
committerGitHub <noreply@github.com>2019-07-03 14:42:45 -0400
commit182d4751974cc95fb0145ea24299fd0ab98fd049 (patch)
tree4299f9bdc7fb166f667db1afa9f3569c7cb18062 /guides
parent141b30630cc9ec15dd5aa88e062383adedd335de (diff)
parentd71d3f4326d07ef6ccb074b60ee7adaadadcb637 (diff)
downloadrails-182d4751974cc95fb0145ea24299fd0ab98fd049.tar.gz
rails-182d4751974cc95fb0145ea24299fd0ab98fd049.tar.bz2
rails-182d4751974cc95fb0145ea24299fd0ab98fd049.zip
Merge pull request #36585 from tr4b4nt/patch-1
Fix swapped replica/primary in multi-db docs [ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/active_record_multiple_databases.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_multiple_databases.md b/guides/source/active_record_multiple_databases.md
index d7d9bd1ca9..07be21a254 100644
--- a/guides/source/active_record_multiple_databases.md
+++ b/guides/source/active_record_multiple_databases.md
@@ -180,7 +180,7 @@ to primary based on the HTTP verb and whether there was a recent write.
If the application is receiving a POST, PUT, DELETE, or PATCH request the application will
automatically write to the primary. For the specified time after the write the application
-will read from the replica. For a GET or HEAD request the application will read from the
+will read from the primary. For a GET or HEAD request the application will read from the
replica unless there was a recent write.
To activate the automatic connection switching middleware, add or uncomment the following