Is there a way in ./script/console to get the SQL debugging showing? (i.e. like you see when you r


#1

is there a way in ./script/console to get the SQL debugging showing???
(i.e.
like you see when you run ./script/server in development mode)

thanks


#2

You could always have two terminal windows open, one with script/
console open and another with script/server. Any db calls you make
will appear in the script/server window.

Eifion


#3

ok - thanks

On Fri, Dec 12, 2008 at 5:49 PM, Eifion Bedford <


#4

ActiveRecord::Base.logger = Logger.new(STDOUT)