Created
December 10, 2013 07:14
-
-
Save algogrit/7886837 to your computer and use it in GitHub Desktop.
Snippets for RoR
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
# Displaying queries in the rails console | |
ActiveRecord::Base.logger = Logger.new(STDOUT) | |
ActiveRecord::Base.connection_pool.clear_reloadable_connections! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment