Created
February 22, 2011 06:25
-
-
Save dancrowley303/838294 to your computer and use it in GitHub Desktop.
Stop Active Record logging to stdout
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Add this line to development.rb to shut up ActiveRecord | |
ActiveRecord::Base.logger = Logger.new('/dev/null') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment