[Ruby] Show SQL for Active Record
Laurel Fan
laurel.fan at gmail.com
Mon Jan 29 17:42:16 PST 2007
On 1/29/07, Neil Moomey <neil at motznik.com> wrote:
> Is there a trick for showing the sql Active Record generates?
It's not in your logs (development.log and test.log)? Did you change
your log level?
I use the query_trace plugin:
http://terralien.com/svn/projects/plugins/query_trace/README
to make it easier to match sql with code.
--
Laurel Fan
http://blog.gorgorg.org
More information about the Ruby
mailing list