From 84f313ab5d47139dcbdc7f2efe8f6c0ccb33522d Mon Sep 17 00:00:00 2001 From: Rishi Jain Date: Sat, 1 Nov 2014 06:13:17 +0530 Subject: [PATCH] added punctuations, and role of queue_adapter module [ci skip] --- activejob/lib/active_job/queue_adapter.rb | 2 ++ .../lib/active_job/queue_adapters/delayed_job_adapter.rb | 4 ++-- 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 ActionJob::QueueAdapter 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