grosser/ar_after_transaction — pull request #7 by michaelmwu (2013-06-04 10:24:42+00:00)
Title: 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.