diff options
author | Mike Gunderloy <MikeG1@larkfarm.com> | 2009-02-09 17:57:55 -0600 |
---|---|---|
committer | Mike Gunderloy <MikeG1@larkfarm.com> | 2009-02-09 19:42:36 -0600 |
commit | 662a3e87010fefa1fe1c4b1f013c5b8db9dba3ba (patch) | |
tree | 13d7b1fc57a34a4c79cf57fdd55f6b252fa8b521 /railties/guides/source/configuring.textile | |
parent | 6c7e1a9130b7ba5a4f905d03ded5d515370bab7b (diff) | |
download | rails-662a3e87010fefa1fe1c4b1f013c5b8db9dba3ba.tar.gz rails-662a3e87010fefa1fe1c4b1f013c5b8db9dba3ba.tar.bz2 rails-662a3e87010fefa1fe1c4b1f013c5b8db9dba3ba.zip |
Warning about config.threadsafe! in the configuration guide.
Diffstat (limited to 'railties/guides/source/configuring.textile')
-rw-r--r-- | railties/guides/source/configuring.textile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/railties/guides/source/configuring.textile b/railties/guides/source/configuring.textile index c2b28ae6e0..5437184a0c 100644 --- a/railties/guides/source/configuring.textile +++ b/railties/guides/source/configuring.textile @@ -81,7 +81,9 @@ h4. Configuring 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. -* +allow_concurrency+ should be set to +true+ to allow concurrent (threadsafe) action processing. Set to +false+ by default. +* +allow_concurrency+ should be set to +true+ to allow concurrent (threadsafe) action processing. Set to +false+ by default. You probably don't want to call this one directly, though, because a series of other adjustments need to be made for threadsafe mode to work properly. Instead, you should simply call +config.threadsafe!+ inside your +production.rb+ file, which makes all the necessary adjustments. + +WARNING: Threadsafe operation in 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!+. * +param_parsers+ provides an array of handlers that can extract information from incoming HTTP requests and add it to the +params+ hash. By default, parsers for multipart forms, URL-encoded forms, XML, and JSON are active. |