PDA

View Full Version : where to set @@allow_concurrency= true


rubyonrails-talk
August 28th, 2006, 08:55 AM
Hi all,
I would like to have a connection-per-thread in my rails app. According
to the base.rb file, @@allow_concurrency parameter mustbe set to true.
I tried setting it both in environment.rb and ApplicationController but
did not work. Where should I change that parameter so that it can work?
Thanks.

More... (http://groups.google.com/group/rubyonrails-talk/msg/ffe884303a00a586)