« return

rails show mysql log in script/console

07-Sep-2010, Ant

After starting script/console

run the following as the first command

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