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

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

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

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs