Is AR thread safe or not?

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?


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.