提交 40bf7a52 编写于 作者: J Jon Moss 提交者: GitHub

Merge pull request #25476 from maclover7/jm-docs-dep-loading

Update grammar for `config.enable_dependency_loading` docs
...@@ -94,7 +94,7 @@ application. Accepts a valid week day symbol (e.g. `:monday`). ...@@ -94,7 +94,7 @@ application. Accepts a valid week day symbol (e.g. `:monday`).
* `config.eager_load_paths` accepts an array of paths from which Rails will eager load on boot if cache classes is enabled. Defaults to every folder in the `app` directory of the application. * `config.eager_load_paths` accepts an array of paths from which Rails will eager load on boot if cache classes is enabled. Defaults to every folder in the `app` directory of the application.
* `config.enable_dependency_loading` when true, enable the autoload loading behavior even if the application is eager loaded and have `cache_classes` as true. Default to false. * `config.enable_dependency_loading`: when true, enables autoload loading, even if the application is eager loaded and `config.cache_classes` is set as true. Defaults to false.
* `config.encoding` sets up the application-wide encoding. Defaults to UTF-8. * `config.encoding` sets up the application-wide encoding. Defaults to UTF-8.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册