More detail SQL logging

I had seen a post on the Ruby of Rails weblog about a tool or plugin
which did more detailed logging of all SQL queries (showing the
stack trace which initiated each one) than the standard Rails logging.

But I can’t find it now that I need it.

Does anyone know where I can find it?

Thanks in advance.
Don Mc