提交 c7a609b1 编写于 作者: A Abhay Nikam

Fix typo in multi database guide depentent -> dependent [ci skip]

Fixed the redundant addition of to [ci skip]
上级 f614be37
......@@ -81,7 +81,7 @@ When using multiple databases there are a few important settings.
First, the database name for the primary and replica should be the same because they contain
the same data. Second, the username for the primary and replica should be different, and the
replica user's permissions should be to to read and not write.
replica user's permissions should be to read and not write.
When using a replica database you need to add a `replica: true` entry to the replica in the
`database.yml`. This is because Rails otherwise has no way of knowing which one is a replica
......@@ -260,7 +260,7 @@ if you need sharding it may be advisable to continue using one of the many gems
that supports this.
Rails also doesn't support automatic load balancing of replicas. This is very
depentent on your infrastructure. We may implement basic, primitive load balancing
dependent on your infrastructure. We may implement basic, primitive load balancing
in the future, but for an application at scale this should be something your application
handles outside of Rails.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册