How to print SQL to standard out with script/console and irbTagged irb, console, rails, print, stdout, sql Languages bashActiveRecord::Base.logger = Logger.new(STDOUT) Edit Delete