Created
October 2, 2013 19:26
-
-
Save doyle/6799199 to your computer and use it in GitHub Desktop.
Demonstrates how to log active record to stdout in a rails console.
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) | |
reload! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment