Created
May 26, 2016 19:20
-
-
Save jfilipe/1a998ffca7543036690fb1d852b1ae0c to your computer and use it in GitHub Desktop.
Displays ActiveRecord queries in the console as they happen.
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
# in a console session: | |
ActiveRecord::Base.logger = Logger.new(STDOUT) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment