On 2014-04-30 22:36, Nick Sabalausky wrote:

Aren't you talking about databases? Single-threading won't save you from
races there unless the DBMS itself is single-threaded (which would be a
pretty undesirable DBMS).

Are you referring to if one process executes line 1 while another executes line 2? I don't see how ActiveRecord make this any worse.

Or does the ORM above automatically lock the row/table behind-the-scenes?

It does saves in transactions but I don't think it locks.

--
/Jacob Carlborg

Reply via email to