aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan Bigg <radarlistener@gmail.com>2010-11-29 11:47:06 +1100
committerRyan Bigg <radarlistener@gmail.com>2010-11-29 11:54:14 +1100
commitb62d5d62e93ee0ad7b4500e4c351f98d9c685abd (patch)
tree473137902f57113c53586170de81010597713862
parentf03aa05cee96f0a0e09af0e9244a9cf9fcd1cf6f (diff)
downloadrails-b62d5d62e93ee0ad7b4500e4c351f98d9c685abd.tar.gz
rails-b62d5d62e93ee0ad7b4500e4c351f98d9c685abd.tar.bz2
rails-b62d5d62e93ee0ad7b4500e4c351f98d9c685abd.zip
Move consider_all_requests_local to global config methods in config guide
-rw-r--r--railties/guides/source/configuring.textile3
1 files changed, 1 insertions, 2 deletions
diff --git a/railties/guides/source/configuring.textile b/railties/guides/source/configuring.textile
index 214674ef36..e206d1d16b 100644
--- a/railties/guides/source/configuring.textile
+++ b/railties/guides/source/configuring.textile
@@ -61,6 +61,7 @@ h4. Rails General Configuration
* +config.colorize_logging+ specifies whether or not to use ANSI color codes when logging information. Defaults to _true_.
+* +config.consider_all_requests_local+ is generally set to +true+ during development and +false+ during production; if it is set to +true+, then any error will cause detailed debugging information to be dumped in the HTTP response. For finer-grained control, set this to +false+ and implement +local_request?+ in controllers to specify which requests should provide debugging information on errors.
* +config.dependency_loading+ enables or disables dependency loading during the request cycle. Setting dependency_loading to _true_ will allow new classes to be loaded during a request and setting it to _false_ will disable this behavior. Can also be enabled with +threadsafe!+.
@@ -211,8 +212,6 @@ h4. Configuring Action Controller
* +config.action_controller.asset_path+ allows you to override the default asset path generation by providing your own instructions.
-* +config.action_controller.consider_all_requests_local+ is generally set to +true+ during development and +false+ during production; if it is set to +true+, then any error will cause detailed debugging information to be dumped in the HTTP response. For finer-grained control, set this to +false+ and implement +local_request?+ to specify which requests should provide debugging information on errors.
-
WARNING: Threadsafe operation is incompatible with the normal workings of development mode Rails. In particular, automatic dependency loading and class reloading are automatically disabled when you call +config.threadsafe!+.
* +config.action_controller.default_charset+ specifies the default character set for all renders. The default is "utf-8".