diff options
author | José Valim <jose.valim@plataformatec.com.br> | 2013-01-26 12:29:04 -0800 |
---|---|---|
committer | José Valim <jose.valim@plataformatec.com.br> | 2013-01-26 12:29:04 -0800 |
commit | 0c588480ac4d36bda9ce29c1e364b4bda416d469 (patch) | |
tree | da5d61165d749e180817f033e3b37e82e9ab3785 /activerecord/lib/active_record/migration.rb | |
parent | 41ff6a10216f48f43605a1f9cd6094765cab750f (diff) | |
parent | 70af2bde29996c7cb66bfe0e8d2092572deeea78 (diff) | |
download | rails-0c588480ac4d36bda9ce29c1e364b4bda416d469.tar.gz rails-0c588480ac4d36bda9ce29c1e364b4bda416d469.tar.bz2 rails-0c588480ac4d36bda9ce29c1e364b4bda416d469.zip |
Merge pull request #9087 from lucasmazza/silence-migration-checks
Use `silence` instead of `quietly` to silence the `CheckPending` middleware.
Diffstat (limited to 'activerecord/lib/active_record/migration.rb')
-rw-r--r-- | activerecord/lib/active_record/migration.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb index 67339c05e5..823595a128 100644 --- a/activerecord/lib/active_record/migration.rb +++ b/activerecord/lib/active_record/migration.rb @@ -342,7 +342,7 @@ module ActiveRecord end def call(env) - ActiveRecord::Base.logger.quietly do + ActiveRecord::Base.logger.silence do ActiveRecord::Migration.check_pending! end @app.call(env) |