Skip to content

Commit

Permalink
Revert "use #quietly instead of #silence for rails 3.2 support"
Browse files Browse the repository at this point in the history
This reverts commit 7568209.
  • Loading branch information
dolzenko committed Dec 24, 2011
1 parent 7568209 commit eded8f2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/silent-postgres.rb
Expand Up @@ -21,7 +21,7 @@ def self.included(base)


eval <<-METHOD eval <<-METHOD
def #{m1}_with_silencer#{m2}(*args) def #{m1}_with_silencer#{m2}(*args)
@logger.quietly do @logger.silence do
#{m1}_without_silencer#{m2}(*args) #{m1}_without_silencer#{m2}(*args)
end end
end end
Expand Down
2 changes: 1 addition & 1 deletion lib/silent-postgres/schema_plus.rb
Expand Up @@ -10,7 +10,7 @@ def self.included(base)
SILENCED_METHODS.each do |m| SILENCED_METHODS.each do |m|
eval <<-METHOD eval <<-METHOD
def #{m}_with_silencer(*args) def #{m}_with_silencer(*args)
@logger.quietly do @logger.silence do
#{m}_without_silencer(*args) #{m}_without_silencer(*args)
end end
end end
Expand Down

1 comment on commit eded8f2

@keating
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why this is reverted?

Please sign in to comment.