1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activejob/CHANGELOG.md
Ryuta Kamizono cdb15ba7cd Fix CHANGELOG format [ci skip]
* Add backticks
* Expand tabs
* Fix indentation
2018-01-24 09:24:49 +09:00

29 lines
715 B
Markdown

* Allow block to be passed to `ActiveJob::Base.discard_on` to allow custom handling of discard jobs.
Example:
class RemoteServiceJob < ActiveJob::Base
discard_on(CustomAppException) do |job, exception|
ExceptionNotifier.caught(exception)
end
def perform(*args)
# Might raise CustomAppException for something domain specific
end
end
*Aidan Haran*
## Rails 5.2.0.beta2 (November 28, 2017) ##
* No changes.
## Rails 5.2.0.beta1 (November 27, 2017) ##
* Support redis-rb 4.0.
*Jeremy Daer*
Please check [5-1-stable](https://github.com/rails/rails/blob/5-1-stable/activejob/CHANGELOG.md) for previous changes.