diff options
author | Arun Agrawal <arunagw@gmail.com> | 2012-09-17 12:13:15 +0530 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2012-09-17 12:13:15 +0530 |
commit | 3e4458b73ba7e0b08fea728b6b79ac7e739e12f7 (patch) | |
tree | cd9ef3a5de3db12f2a5a37529b25e6d2b1ad3be2 | |
parent | 2a301505ece91b1bf317c6627aaba7ec0cea43e9 (diff) | |
download | rails-3e4458b73ba7e0b08fea728b6b79ac7e739e12f7.tar.gz rails-3e4458b73ba7e0b08fea728b6b79ac7e739e12f7.tar.bz2 rails-3e4458b73ba7e0b08fea728b6b79ac7e739e12f7.zip |
Fix build for Queue.
-rw-r--r-- | railties/lib/rails/application/finisher.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/lib/rails/application/finisher.rb b/railties/lib/rails/application/finisher.rb index f9a3c00946..d2a402aa51 100644 --- a/railties/lib/rails/application/finisher.rb +++ b/railties/lib/rails/application/finisher.rb @@ -98,7 +98,7 @@ module Rails initializer :activate_queue_consumer do |app| if config.queue == ActiveSupport::Queue - app.queue_consumer = config.queue_consumer.start(app.queue, Rails.logger) + app.queue_consumer = config.queue_consumer.start(app.queue, {logger: Rails.logger}) at_exit { app.queue_consumer.shutdown } end end |