From 7e2bb251228a30c0d4e66029b20bbbf85bc99a09 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Tue, 14 Dec 2010 18:36:34 -0800 Subject: FAQ: add a note about config.threadsafe! At least one user ran into it: http://mid.gmane.org/AANLkTikegPX2-6Q93++bz_aLt+9nLPJXjg+NkL8tDjeE@mail.gmail.com --- FAQ | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/FAQ b/FAQ index 7609d55..f45568b 100644 --- a/FAQ +++ b/FAQ @@ -98,3 +98,9 @@ For older versions of Rails, the following config.ru will work: One thing to watch out for is that RAILS_ENV will not be set in the environment for you, thus we set it to match RACK_ENV. + +=== I'm using threads and Rails is misbehaving! + +If you use any of the threaded concurrency models, you will need to use +{config.threadsafe!}[http://m.onkey.org/thread-safety-for-your-rails] +in your config/environments/$RAILS_ENV.rb -- cgit v1.2.3-24-ge0c7