提交 ddb2d572 编写于 作者: Z Zachary Scott

Merge pull request #16615 from tgxworld/guide_fix

[ci skip] Grammar fixes for upgrade guide from 4.0 to 4.1
......@@ -199,7 +199,7 @@ secrets, you need to:
```
2. Use your existing `secret_key_base` from the `secret_token.rb` initializer to
set the SECRET_KEY_BASE environment variable for whichever users that are running the
set the SECRET_KEY_BASE environment variable for whichever users running the
Rails application in production mode. Alternatively, you can simply copy the existing
`secret_key_base` from the `secret_token.rb` initializer to `secrets.yml`
under the `production` section, replacing '<%= ENV["SECRET_KEY_BASE"] %>'.
......@@ -414,8 +414,8 @@ configuration to your application:
config.i18n.enforce_available_locales = false
```
Note that this option was added as a security measure, to ensure user input can
not be used as locale information unless it is previously known. Therefore,
Note that this option was added as a security measure, to ensure user input
cannot be used as locale information unless it is previously known. Therefore,
it's recommended not to disable this option unless you have a strong reason for
doing so.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册