Permalink
Browse files

Missed a few spots in inline -> async switch

  • Loading branch information...
1 parent 625baa6 commit 439fadf758f6f0bc50e3d8c6f96b0ddbd613d299 @dhh dhh committed Feb 5, 2016
Showing with 3 additions and 8 deletions.
  1. +1 −6 activejob/README.md
  2. +1 −1 activejob/lib/active_job/queue_adapter.rb
  3. +1 −1 activejob/lib/active_job/railtie.rb
View
@@ -20,12 +20,7 @@ switch between them without having to rewrite your jobs.
## Usage
-Set the queue adapter for Active Job:
-
-``` ruby
-ActiveJob::Base.queue_adapter = :inline # default queue adapter
-```
-Note: To learn how to use your preferred queueing backend see its adapter
+To learn how to use your preferred queueing backend see its adapter
documentation at
[ActiveJob::QueueAdapters](http://api.rubyonrails.org/classes/ActiveJob/QueueAdapters.html).
@@ -4,7 +4,7 @@
module ActiveJob
# The <tt>ActiveJob::QueueAdapter</tt> module is used to load the
- # correct adapter. The default queue adapter is the +:inline+ queue.
+ # correct adapter. The default queue adapter is the +:async+ queue.
module QueueAdapter #:nodoc:
extend ActiveSupport::Concern
@@ -12,7 +12,7 @@ class Railtie < Rails::Railtie # :nodoc:
initializer "active_job.set_configs" do |app|
options = app.config.active_job
- options.queue_adapter ||= :inline
+ options.queue_adapter ||= :async
ActiveSupport.on_load(:active_job) do
options.each { |k,v| send("#{k}=", v) }

0 comments on commit 439fadf

Please sign in to comment.