transaction_isolation
transaction_isolation copied to clipboard
Set transaction isolation level in the ActiveRecord in a database agnostic way.
ArgumentError: wrong number of arguments (given 2, expected 1; required keywords: message, sql, binds) when error raised without transaction isolation conflict > transaction_isolation-1.0.5/lib/transaction_isolation/active_record/connection_adapters/mysql2_adapter.rb:59 `translate_exception_without_transaction_isolation_conflict( exception, message )` Signature for translate_exception...
Added version to decide how to get the current isolation level. In MySQL
If a developer's system language is other than English (e.g. German), exception messages in development will differ from the ones in the method (e.g. be in German). Then detecting an...
Tools like VersionEye are using this information for license compliance analysis.
The command to see current isolation level is changed from `SELECT @@session.tx_isolation` to `SELECT @@session.transaction_isolation`
I have tried using this to wrap long running background jobs that process reports to help with deadlock issues and concurrency in our Rails 3.2 project. Within our report processing...
Postgres allows serializable transactions to declare that they are 'deferrable' (when also marked read-only), which allows a guarantee that the transaction will not fail with a serializability exception, and also...