aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/lib/active_job/execution.rb
Commit message (Collapse)AuthorAgeFilesLines
* [Active Job] require_relative => requireAkira Matsuda2017-10-211-1/+1
| | | | 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-1/+1
|
* applies new string literal convention in activejob/libXavier Noria2016-08-061-2/+2
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* Guard against jobs that were persisted before we started counting executions ↵David Heinemeier Hansson2016-08-031-1/+3
| | | | by zeroing out nil counters
* Executions counting is not a serialization concernDavid Heinemeier Hansson2016-08-011-0/+1
| | | | | Let’s do it when we actually execute instead. Then the tests dealing with comparable serializations won’t fail either!
* Action Mailer: Declarative exception handling with `rescue_from`.Jeremy Daer2016-05-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | Follows the same pattern as controllers and jobs. Exceptions raised in delivery jobs (enqueued by `#deliver_later`) are also delegated to the mailer's rescue_from handlers, so you can handle the DeserializationError raised by delivery jobs: ```ruby class MyMailer < ApplicationMailer rescue_from ActiveJob::DeserializationError do … end ``` ActiveSupport::Rescuable polish: * Add the `rescue_with_handler` class method so exceptions may be handled at the class level without requiring an instance. * Rationalize `exception.cause` handling. If no handler matches the exception, fall back to the handler that matches its cause. * Handle exceptions raised elsewhere. Pass `object: …` to execute the `rescue_from` handler (e.g. a method call or a block to instance_exec) against a different object. Defaults to `self`.
* Use AS::Reloader to support reloading in ActiveJobMatthew Draper2016-03-021-2/+4
|
* Document AJ::Execution class methods module [ci skip]Zachary Scott2014-11-031-0/+1
|
* [ci skip] AJ docs fixesAkshay Vishnoi2014-09-181-1/+1
| | | | | | | | 1. Indentation 2. Spaces issues 3. Spelling correction 4. Grammar correction 5. Add #:nodoc: to all internal classes
* Active Job refactoringCristian Bica2014-09-031-12/+20
|
* [ActiveJob] Add deserialize_arguments method to jobAbdelkader Boudih2014-08-171-1/+7
|
* [ActiveJob] remove ruby warningsAbdelkader Boudih2014-08-171-2/+2
|
* Add 'activejob/' from commit '14f74a8331f94150dfee653224de8fc837797709'Abdelkader Boudih2014-08-121-0/+27
git-subtree-dir: activejob git-subtree-mainline: b45b99894a60eda434abec94d133a1cfd8de2dda git-subtree-split: 14f74a8331f94150dfee653224de8fc837797709