Permalink
Browse files

Move consider_all_requests_local to global config methods in config g…

…uide
  • Loading branch information...
1 parent cbea902 commit 5969a847ed4b1a4fea7c81a8aa36277335a424d3 @radar radar committed with fxn Nov 29, 2010
Showing with 1 addition and 2 deletions.
  1. +1 −2 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".

0 comments on commit 5969a84

Please sign in to comment.