diff options
author | schneems <richard.schneeman@gmail.com> | 2012-10-28 11:47:34 -0500 |
---|---|---|
committer | schneems <richard.schneeman@gmail.com> | 2012-10-28 11:47:34 -0500 |
commit | 0fbdddd7158bd951d2672fc8ebc614c42906815f (patch) | |
tree | 95af0726a1f39f7a30bf2e8e4819fe044068e024 /activerecord | |
parent | 94aadf76806c3f34d2ccb9980cbeb59809e799b0 (diff) | |
download | rails-0fbdddd7158bd951d2672fc8ebc614c42906815f.tar.gz rails-0fbdddd7158bd951d2672fc8ebc614c42906815f.tar.bz2 rails-0fbdddd7158bd951d2672fc8ebc614c42906815f.zip |
Don't log on pending migration check
Conversation from: #6665 cc/ @rafaelfranca
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/migration.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/migration.rb b/activerecord/lib/active_record/migration.rb index d5ee98382d..5c5417a0e1 100644 --- a/activerecord/lib/active_record/migration.rb +++ b/activerecord/lib/active_record/migration.rb @@ -342,7 +342,9 @@ module ActiveRecord end def call(env) - ActiveRecord::Migration.check_pending! + ActiveRecord::Base.logger.quietly do + ActiveRecord::Migration.check_pending! + end @app.call(env) end end |