Forum: Ruby on Rails how can I tell which transaction each SQL call is in?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
D5df9fcd7ef4c3c937435d7d6adeab2a?d=identicon&s=25 Greg Hauptmann (Guest)
on 2009-01-09 12:21
(Received via mailing list)

I'm trying to debug some transaction related issues in my code:

How could I tell which Sql statement (from logs) which transaction (if
any) they are in?

F15fdc7cb2e911b3808837f2be244add?d=identicon&s=25 AD (Guest)
on 2009-01-09 18:26
(Received via mailing list)
you should use query_trace plugin.


On Fri, Jan 9, 2009 at 6:20 AM, Greg Hauptmann <
This topic is locked and can not be replied to.