Log SQL queries to console
ActiveRecord::Base.logger = Logger.new(STDOUT)
Tail test log file when running test
In a separate terminal window:
tail -f log/test.log
Software Engineer
ActiveRecord::Base.logger = Logger.new(STDOUT)
In a separate terminal window:
tail -f log/test.log