diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2019-07-08 10:20:45 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-08 10:20:45 -0500 |
commit | c00cd7b446aaeb8e2486142938238b26c48ed711 (patch) | |
tree | d33b5cb6ab8bf61f4f04ac5731c54a2336661461 /guides/source/active_record_multiple_databases.md | |
parent | fe30211574648fa21bff958a3cf952fd0c20c3b1 (diff) | |
parent | 84ff4f6ea2a118b47160e3fe7ed29bff52c2a7a2 (diff) | |
download | rails-c00cd7b446aaeb8e2486142938238b26c48ed711.tar.gz rails-c00cd7b446aaeb8e2486142938238b26c48ed711.tar.bz2 rails-c00cd7b446aaeb8e2486142938238b26c48ed711.zip |
Merge branch 'master' into add_database_exist_method
Diffstat (limited to 'guides/source/active_record_multiple_databases.md')
-rw-r--r-- | guides/source/active_record_multiple_databases.md | 2 |
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 |