aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/lib/active_job/base.rb
Commit message (Collapse)AuthorAgeFilesLines
* Change queueing to queuing in docs and comments [skip ci]jacobherrington2018-11-181-1/+1
| | | | | | | | | My spellchecker flagged this as an incorrect spelling, upon further research it appears to be a point of contention in English. Either way might work. After further examination queuing is much more common in the Rails codebase so making this change will serve to standardize the spelling.
* ActiveJob::Base no longer dependents on Serializersalpaca-tc2018-07-031-1/+0
|
* Add support for timezones to Active JobAndrew White2018-02-221-0/+2
| | | | | | Record what was the current timezone in effect when the job was enqueued and then restore when the job is executed in same way that the current locale is recorded and restored.
* No need to require a autoloaded constantRafael Mendonça França2018-02-141-1/+0
|
* Introduce serializers to ActiveJobEvgenii Pecherkin2018-02-141-0/+2
|
* [Active Job] require_relative => requireAkira Matsuda2017-10-211-10/+10
| | | | This basically reverts fef234f1f0a238c2277459652861144ae89501ff
* [Active Job] `rubocop -a --only Layout/EmptyLineAfterMagicComment`Koichi ITO2017-07-111-0/+1
|
* Use frozen-string-literal in ActiveJobKir Shatrov2017-07-091-0/+1
|
* [Active Job] require => require_relativeAkira Matsuda2017-07-011-10/+10
|
* applies new string literal convention in activejob/libXavier Noria2016-08-061-10/+10
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Add retry_on/discard_on for better exception handlingDavid Heinemeier Hansson2016-07-291-0/+2
|
* Fixed wording.Mike Boone2015-11-081-1/+1
|
* Add job priorities to ActiveJobwvengen2015-09-171-0/+2
|
* Fixes #20799Johannes Opper2015-08-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | When `#perform_later` is called the locale isn't stored on the queue, which results in a locale reset when the job is performed. An example of the problem: I18n.locale = 'de' HelloJob.perform_now # german message, correct but I18n.locale = 'de' HelloJob.perform_later # english message, incorrect This PR attaches the current I18n.locale to every job during the serialization process. It is then restored during deserialization and used to perform the job with the correct locale. It falls back to the default locale if no serialized locale is found in order to provide backward compatibility with previously stored jobs. It is not necessary to clear the queue for the update.
* docs, minor changes in Active Job documentation. [ci skip]Yves Senn2014-11-101-1/+1
|
* - Changed description for AJ enqueuing methods to provide a sane description.Vipul A M2014-10-211-3/+3
| | | | [ci skip]
* Merge pull request #17329 from vipulnsward/mention-perform-later-docsYves Senn2014-10-201-0/+4
|\ | | | | Mention `perform_now` in AJ base docs to specify how to immediately invoke a job [ci skip]
| * Mention `perform_now` in AJ base docs to specify how to immediately invoke a ↵Vipul A M2014-10-201-0/+4
| | | | | | | | job. [ci skip]
* | docs, It's "Active Job" not "Active job". [ci skip]Yves Senn2014-10-201-2/+2
|/
* Add documentation on Active Job.mo khan2014-10-021-1/+42
| | | | | | | This adds documentation for the Active Job API. It includes documentation on how to configure the queue_adapter, and how to create new jobs. It adds links to the various other sections of the Active Job documentation.
* Active Job refactoringCristian Bica2014-09-031-2/+2
|
* [ActiveJob] TestCaseAbdelkader Boudih2014-09-021-2/+1
|
* Add 'activejob/' from commit '14f74a8331f94150dfee653224de8fc837797709'Abdelkader Boudih2014-08-121-0/+22
git-subtree-dir: activejob git-subtree-mainline: b45b99894a60eda434abec94d133a1cfd8de2dda git-subtree-split: 14f74a8331f94150dfee653224de8fc837797709