mirror of https://github.com/rails/rails
Fix CHANGELOG format [ci skip]
* Add backticks * Expand tabs * Fix indentation
This commit is contained in:
parent
e08e745345
commit
cdb15ba7cd
|
@ -1,11 +1,11 @@
|
||||||
* Allow block to be passed to ActiveJob::Base.discard_on to allow custom handling of discard jobs.
|
* Allow block to be passed to `ActiveJob::Base.discard_on` to allow custom handling of discard jobs.
|
||||||
|
|
||||||
Example:
|
Example:
|
||||||
|
|
||||||
class RemoteServiceJob < ActiveJob::Base
|
class RemoteServiceJob < ActiveJob::Base
|
||||||
discard_on(CustomAppException) do |job, exception|
|
discard_on(CustomAppException) do |job, exception|
|
||||||
ExceptionNotifier.caught(exception)
|
ExceptionNotifier.caught(exception)
|
||||||
end
|
end
|
||||||
|
|
||||||
def perform(*args)
|
def perform(*args)
|
||||||
# Might raise CustomAppException for something domain specific
|
# Might raise CustomAppException for something domain specific
|
||||||
|
@ -14,6 +14,7 @@
|
||||||
|
|
||||||
*Aidan Haran*
|
*Aidan Haran*
|
||||||
|
|
||||||
|
|
||||||
## Rails 5.2.0.beta2 (November 28, 2017) ##
|
## Rails 5.2.0.beta2 (November 28, 2017) ##
|
||||||
|
|
||||||
* No changes.
|
* No changes.
|
||||||
|
|
Loading…
Reference in New Issue