Forum: Ruby on Rails Is AR thread safe or not?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Jon (Guest)
on 2007-03-29 14:06
(Received via mailing list)
I've seen a variety of claims that ActiveRecord isn't thread safe, but
no actual evidence.

Has anyone actually experienced threading problems in ActiveRecord in
the current Rails release?

Brian H. (Guest)
on 2007-03-29 17:06
(Received via mailing list)
As far as I know, ActiveRecord is thread safe.The controller stuff in
is not thread-safe. (so Rails request/response stuff is not thread-safe,
if you were to use ActiveRecord in a regular Ruby app or script then
should be just fine.

Hope that helps clear things up.
This topic is locked and can not be replied to.