Created
March 27, 2009 22:51
-
-
Save samgranieri/86953 to your computer and use it in GitHub Desktop.
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
module ActiveRecord::ConnectionAdapters | |
class PostgreSQLAdapter < AbstractAdapter | |
def client_min_messages=(level) | |
@logger.silence do | |
execute("SET client_min_messages TO '#{level}'") | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment