In current versions of ActiveRecord, it is safe to run
connection.transaction() when another transaction could already be open.