Skip to content
Browse files

Revert "use #quietly instead of #silence for rails 3.2 support"

This reverts commit 7568209.
  • Loading branch information...
1 parent 7568209 commit eded8f249942b11fe9dacafc02a85b6594282fcc @dolzenko committed
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/silent-postgres.rb
  2. +1 −1 lib/silent-postgres/schema_plus.rb
View
2 lib/silent-postgres.rb
@@ -21,7 +21,7 @@ def self.included(base)
eval <<-METHOD
def #{m1}_with_silencer#{m2}(*args)
- @logger.quietly do
+ @logger.silence do
#{m1}_without_silencer#{m2}(*args)
end
end
View
2 lib/silent-postgres/schema_plus.rb
@@ -10,7 +10,7 @@ def self.included(base)
SILENCED_METHODS.each do |m|
eval <<-METHOD
def #{m}_with_silencer(*args)
- @logger.quietly do
+ @logger.silence do
#{m}_without_silencer(*args)
end
end

1 comment on commit eded8f2

@keating

why this is reverted?

Please sign in to comment.
Something went wrong with that request. Please try again.