Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Action Mailer: Declarative exception handling with `rescue_from`. | Jeremy Daer | 2016-05-15 | 1 | -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 ActiveJob | Matthew Draper | 2016-03-02 | 1 | -2/+4 |
| | |||||
* | Document AJ::Execution class methods module [ci skip] | Zachary Scott | 2014-11-03 | 1 | -0/+1 |
| | |||||
* | [ci skip] AJ docs fixes | Akshay Vishnoi | 2014-09-18 | 1 | -1/+1 |
| | | | | | | | | 1. Indentation 2. Spaces issues 3. Spelling correction 4. Grammar correction 5. Add #:nodoc: to all internal classes | ||||
* | Active Job refactoring | Cristian Bica | 2014-09-03 | 1 | -12/+20 |
| | |||||
* | [ActiveJob] Add deserialize_arguments method to job | Abdelkader Boudih | 2014-08-17 | 1 | -1/+7 |
| | |||||
* | [ActiveJob] remove ruby warnings | Abdelkader Boudih | 2014-08-17 | 1 | -2/+2 |
| | |||||
* | Add 'activejob/' from commit '14f74a8331f94150dfee653224de8fc837797709' | Abdelkader Boudih | 2014-08-12 | 1 | -0/+27 |
git-subtree-dir: activejob git-subtree-mainline: b45b99894a60eda434abec94d133a1cfd8de2dda git-subtree-split: 14f74a8331f94150dfee653224de8fc837797709 |