Created
September 9, 2010 16:46
-
-
Save tinderfields/572151 to your computer and use it in GitHub Desktop.
Setup rails console logging
This file contains 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
ActiveRecord::Base.logger = Logger.new(STDOUT) | |
ActiveRecord::Base.clear_active_connections! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Not sure if this works in production