Open tillvollmer opened 9 years ago
I think Rails 4 supports specifying the transaction level.. maybe that could be used?
That other gem does some exception rewriting, and this one depends on the ActiveRecord::TransactionIsolationConflict exception, rather than the collection of other exceptions it wraps: https://github.com/qertoip/transaction_retry/blob/0cd0491a5ef2a8e1864522bb2760536da039cb55/lib/transaction_retry/active_record/base.rb#L33
In the init section it uses this TransactionIsolation.apply_activerecord_patch
But there is no call of isolation() in the code.
Why is that needed?