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)

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

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

ok - thanks

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