Skip to content

Instantly share code, notes, and snippets.

@ascendbruce
Last active December 26, 2015 01:28
Show Gist options
  • Save ascendbruce/7071173 to your computer and use it in GitHub Desktop.
Save ascendbruce/7071173 to your computer and use it in GitHub Desktop.
Temporarily Disable Executed SQL Command Output in Rails Console (Disable rails logger output)
ActiveRecord::Base.logger.level = Logger::INFO
# from http://lexsheehan.blogspot.tw/2013/04/temporarily-disable-executed-sql.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment