grosser/ar_after_transaction — pull request #6 by michaelmwu (2013-06-04 08:51:32+00:00)
Title: Improve thread safety

Using @@ is not thread safe. Either connection instance variables (since each thread is guaranteed to have it's own connection) or thread local variables (Thread.current[VAR]) is safer.