Skip to content

Commit cb69904

Browse files
committed
[ci skip] Expand on disable-prevent-writes changelog entry
1 parent e2585a2 commit cb69904

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

activerecord/CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,14 @@
1414

1515
* Disable automatic write protection on replicas.
1616

17-
Write protection is no longer automatically enabled for replicas. Write protection should be enabled by the database user settings.
17+
Write protection is no longer automatically enabled for replicas.
18+
You can manually prevent writes in your app with
19+
`while_preventing_writes`. To automatically disable all writes on
20+
your replica, configure the database user you are using to connect
21+
to your replica to prevent writes. How you configure this is
22+
specific to which database adapter you are using, but it usually
23+
involves only granting the database user permission to do `SELECT`
24+
queries.
1825

1926
*Adam Hess*
2027

0 commit comments

Comments
 (0)