Tag Archives: hirb

SQL Logging to script/console

When running a Rails console session, a true time saver is directing the ActiveRecord logs to STDOUT instead of the log file.  This is easily accomplished adding the following to your ~/.irbrc file: if rails_env = ENV[’RAILS_ENV’] # Called after … Continue reading

Posted in Technology | Tagged , , , | Leave a comment