Created
November 14, 2009 00:58
-
-
Save IcyMidnight/234317 to your computer and use it in GitHub Desktop.
Turn on the sequel gem's query logging in merb
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
Merb.logger.info.auto_flush = true; ::Sequel::DATABASES.each { |db| db.logger = Merb.logger.info} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment