aboutsummaryrefslogtreecommitdiffstats
path: root/activejob
diff options
context:
space:
mode:
authorRishi Jain <rishi@joshsoftware.com>2014-11-01 06:13:17 +0530
committerRishi Jain <rishi@joshsoftware.com>2014-11-01 06:15:13 +0530
commit84f313ab5d47139dcbdc7f2efe8f6c0ccb33522d (patch)
treee7af8273d9b40da6a0a5f08766392e470dbf341c /activejob
parent45e8a4b6c9b0294c2fd7af1d6ddbde9c728321a9 (diff)
downloadrails-84f313ab5d47139dcbdc7f2efe8f6c0ccb33522d.tar.gz
rails-84f313ab5d47139dcbdc7f2efe8f6c0ccb33522d.tar.bz2
rails-84f313ab5d47139dcbdc7f2efe8f6c0ccb33522d.zip
added punctuations, and role of queue_adapter module [ci skip]
Diffstat (limited to 'activejob')
-rw-r--r--activejob/lib/active_job/queue_adapter.rb2
-rw-r--r--activejob/lib/active_job/queue_adapters/delayed_job_adapter.rb4
2 files changed, 4 insertions, 2 deletions
diff --git a/activejob/lib/active_job/queue_adapter.rb b/activejob/lib/active_job/queue_adapter.rb
index 4bd28522ab..78b0f1fb78 100644
--- a/activejob/lib/active_job/queue_adapter.rb
+++ b/activejob/lib/active_job/queue_adapter.rb
@@ -1,6 +1,8 @@
require 'active_job/queue_adapters/inline_adapter'
require 'active_support/core_ext/string/inflections'
+# The <tt>ActionJob::QueueAdapter</tt> module is used to load the
+# correct adapter. The default queue adapter is the :inline queue.
module ActiveJob
module QueueAdapter #:nodoc:
extend ActiveSupport::Concern
diff --git a/activejob/lib/active_job/queue_adapters/delayed_job_adapter.rb b/activejob/lib/active_job/queue_adapters/delayed_job_adapter.rb
index 4d27c4fff8..69d9e70de3 100644
--- a/activejob/lib/active_job/queue_adapters/delayed_job_adapter.rb
+++ b/activejob/lib/active_job/queue_adapters/delayed_job_adapter.rb
@@ -6,10 +6,10 @@ module ActiveJob
#
# Delayed::Job (or DJ) encapsulates the common pattern of asynchronously
# executing longer tasks in the background. Although DJ can have many
- # storage backends one of the most used is based on Active Record.
+ # storage backends, one of the most used is based on Active Record.
# Read more about Delayed Job {here}[https://github.com/collectiveidea/delayed_job].
#
- # To use Delayed Job set the queue_adapter config to +:delayed_job+.
+ # To use Delayed Job, set the queue_adapter config to +:delayed_job+.
#
# Rails.application.config.active_job.queue_adapter = :delayed_job
class DelayedJobAdapter