diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-05-19 13:59:04 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-05-19 13:59:04 -0300 |
commit | 7a2775b7d492dfcd7cfc694837e2bcc576fa58cd (patch) | |
tree | c2240d213d4423c3b75e137f30ff3409d7bef98c /README.md | |
parent | 8a05587227f00317e016b1cf2c15ed84c7699a8b (diff) | |
parent | 29c9dcc4aff563085e94ec89c148b6e779fd4e46 (diff) | |
download | rails-7a2775b7d492dfcd7cfc694837e2bcc576fa58cd.tar.gz rails-7a2775b7d492dfcd7cfc694837e2bcc576fa58cd.tar.bz2 rails-7a2775b7d492dfcd7cfc694837e2bcc576fa58cd.zip |
Merge pull request #28 from larrylv/patch-1
Add doc for setting the queue adapter.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -20,6 +20,13 @@ 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 +# Adapters currently supported: :resque, :sidekiq, :sucker_punch, :delayed_job +``` + Declare a job like so: ```ruby |