Transaction isolation with ActiveRecord
I just launched transaction_isolation gem. It allows you to set transaction isolation level in a database agnostic way.
Works with MySQL, PostgreSQL and SQLite as long as you are using new adapters mysql2, pg or sqlite3.
Supports all ANSI SQL isolation levels: SERIALIZABLE, REPEATABLE_READ, READ_COMMITTED, READ_UNCOMMITTED.
It is battle-tested in a large financial app. Enjoy!
Post a comment