mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Cleanup guide for configuring config.disable_sandbox and related changelog [ci skip] (#35733)
This commit is contained in:
parent
df51b75f12
commit
6a5c8b9199
2 changed files with 3 additions and 3 deletions
|
@ -86,7 +86,7 @@ application. Accepts a valid week day symbol (e.g. `:monday`).
|
|||
end
|
||||
```
|
||||
|
||||
* `config.disable_sandbox` controls whether or not someone could start a console in sandbox mode, as a long session of sandbox console could lead database server to run out of memory.
|
||||
* `config.disable_sandbox` controls whether or not someone can start a console in sandbox mode. This is helpful to avoid a long running session of sandbox console, that could lead a database server to run out of memory. Defaults to false.
|
||||
|
||||
* `config.eager_load` when `true`, eager loads all registered `config.eager_load_namespaces`. This includes your application, engines, Rails frameworks, and any other registered namespace.
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
* Add `config.disable_sandbox` option to Rails console.
|
||||
|
||||
This setting will disable `rails console --sandbox` mode, preventing
|
||||
developer from accidentally starting a sandbox console, left it inactive,
|
||||
and cause the database server to run out of memory.
|
||||
developer from accidentally starting a sandbox console,
|
||||
which when left inactive, can cause the database server to run out of memory.
|
||||
|
||||
*Prem Sichanugrist*
|
||||
|
||||
|
|
Loading…
Reference in a new issue