>
> does anyone know of an easy & quick way to see the sql created by active
> record find* methods?


I have the logger redirected to standard out in script/console for this
reason. Take a look at my .irbrc file here:

http://dotfiles.org/~phorsfall/.irbrc

In the browser, Rack::Bug includes a panel that shows all the SQL queries
that ran for a particular request, it's awesome. (Although I can't get it to
work with Passenger.)

http://www.brynary.com/2009/4/22/rack-bug-debugging-toolbar-in-four-minutes

Paul

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"NWRUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nwrug-members?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to