[Rails] ActiveRecord thread-safety
Tom Ward
tom at popdog.net
Fri Jul 7 13:41:49 GMT 2006
On 7/7/06, Michael Bürge <mib at vis.ethz.ch> wrote:
> I want to use ActiveRecord outside Rails. The application is
> multithreaded, so database access has to be thread-safe. I read in a few
> places ActiveRecord in fact should be thread-safe and I gave it a try,
> but my findings indicate ActiveRecord is NOT thread-safe.
Have you checked the value of ActiveRecord::Base.allow_concurrency is
set to true?
Tom
More information about the Rails
mailing list