ActiveRecord isn't threadsafe. Some patches were contributed to version 4. This gem patches up versions 3.0 and 3.1.