aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorschneems <richard.schneeman@gmail.com>2012-10-28 11:47:34 -0500
committerschneems <richard.schneeman@gmail.com>2012-10-28 11:47:34 -0500
commit0fbdddd7158bd951d2672fc8ebc614c42906815f (patch)
tree95af0726a1f39f7a30bf2e8e4819fe044068e024 /activerecord
parent94aadf76806c3f34d2ccb9980cbeb59809e799b0 (diff)
downloadrails-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.rb4
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