aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorGuillermo Iguaran <guilleiguaran@gmail.com>2019-03-24 16:22:21 -0500
committerGitHub <noreply@github.com>2019-03-24 16:22:21 -0500
commitb4ca05ea43b1033c3f65d23d3b7b624e0e293a35 (patch)
tree6a254229b7231dac2aa2d5f7392f2a2c64b1ba15 /guides
parent4ec486145290efb4059b64e84a2bfd9e157bf787 (diff)
parentb27105252bce6a69f6d57c05d4ea28d20e84f8ae (diff)
downloadrails-b4ca05ea43b1033c3f65d23d3b7b624e0e293a35.tar.gz
rails-b4ca05ea43b1033c3f65d23d3b7b624e0e293a35.tar.bz2
rails-b4ca05ea43b1033c3f65d23d3b7b624e0e293a35.zip
Merge pull request #35723 from sikachu/disable-sandbox-flag
Add config.disable_sandbox option to Rails console
Diffstat (limited to 'guides')
-rw-r--r--guides/source/configuring.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index 0c9a30199a..448c02425f 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -86,6 +86,8 @@ 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.eager_load` when `true`, eager loads all registered `config.eager_load_namespaces`. This includes your application, engines, Rails frameworks, and any other registered namespace.
* `config.eager_load_namespaces` registers namespaces that are eager loaded when `config.eager_load` is `true`. All namespaces in the list must respond to the `eager_load!` method.