aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbdelkader Boudih <terminale@gmail.com>2014-09-25 22:01:32 +0100
committerAbdelkader Boudih <terminale@gmail.com>2014-09-25 22:01:32 +0100
commit419dfea7d0dd7819cdde8f009e6c190041d5319c (patch)
treeb5235aa803cb8d8bbd1a49aa07b7b660e44b7c29
parent9d05d6de52871e57bfbf54a60de005e8a5f5b0e4 (diff)
parent5571fe8d407870a1648b31c9000984919ba2b39e (diff)
downloadrails-419dfea7d0dd7819cdde8f009e6c190041d5319c.tar.gz
rails-419dfea7d0dd7819cdde8f009e6c190041d5319c.tar.bz2
rails-419dfea7d0dd7819cdde8f009e6c190041d5319c.zip
Merge pull request #17059 from bronzle/remove_threadsafe_from_guides
[ci skip] Remove reference to config.threadsafe! in guides/configuring.md
-rw-r--r--guides/source/configuring.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index 220946e8d5..06c279c18f 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -62,7 +62,7 @@ These configuration methods are to be called on a `Rails::Railtie` object, such
* `config.autoload_paths` accepts an array of paths from which Rails will autoload constants. Default is all directories under `app`.
-* `config.cache_classes` controls whether or not application classes and modules should be reloaded on each request. Defaults to false in development mode, and true in test and production modes. Can also be enabled with `threadsafe!`.
+* `config.cache_classes` controls whether or not application classes and modules should be reloaded on each request. Defaults to false in development mode, and true in test and production modes.
* `config.action_view.cache_template_loading` controls whether or not templates should be reloaded on each request. Defaults to whatever is set for `config.cache_classes`.
@@ -86,7 +86,7 @@ application. Accepts a valid week day symbol (e.g. `:monday`).
end
```
-* `config.dependency_loading` is a flag that allows you to disable constant autoloading setting it to false. It only has effect if `config.cache_classes` is true, which it is by default in production mode. This flag is set to false by `config.threadsafe!`.
+* `config.dependency_loading` is a flag that allows you to disable constant autoloading setting it to false. It only has effect if `config.cache_classes` is true, which it is by default in production mode.
* `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.