[Mongrel] Threading & database connections.

Michael Schoen schoenm at earthlink.net
Wed Mar 1 15:40:47 EST 2006

zedshaw at zedshaw.com wrote:
> 2)  Add ActiveRecord.threaded_connections = false to your environment.rb 
> What #2 does is tells AR to make one connection and always use that.
> I may just add an option to mongrel_rails that sets this for you since 
> people keep asking about it.

There's a thread on rails-core about this now, and in the ticket 
referenced below. That config is now called "allow_concurrency" (set to 
false), and is supposed to be set in environment.rb.


More information about the Mongrel-users mailing list