Browse files

Merge pull request #9087 from lucasmazza/silence-migration-checks

Use `silence` instead of `quietly` to silence the `CheckPending` middleware.
  • Loading branch information...
2 parents 41ff6a1 + 70af2bd commit 0c588480ac4d36bda9ce29c1e364b4bda416d469 @josevalim josevalim committed Jan 26, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/migration.rb
View
2 activerecord/lib/active_record/migration.rb
@@ -342,7 +342,7 @@ def initialize(app)
end
def call(env)
- ActiveRecord::Base.logger.quietly do
+ ActiveRecord::Base.logger.silence do
ActiveRecord::Migration.check_pending!
end
@app.call(env)

0 comments on commit 0c58848

Please sign in to comment.