aboutsummaryrefslogtreecommitdiffstats
path: root/activejob
diff options
context:
space:
mode:
authorRyuta Kamizono <kamipo@gmail.com>2018-01-24 09:24:49 +0900
committerRyuta Kamizono <kamipo@gmail.com>2018-01-24 09:24:49 +0900
commitcdb15ba7cd28a432b21821c2758c6c9d6970791c (patch)
tree148268839d6c02be00c039ed80cac6ebc72d001d /activejob
parente08e7453457395680607726a56c97e8a01f3bcd0 (diff)
downloadrails-cdb15ba7cd28a432b21821c2758c6c9d6970791c.tar.gz
rails-cdb15ba7cd28a432b21821c2758c6c9d6970791c.tar.bz2
rails-cdb15ba7cd28a432b21821c2758c6c9d6970791c.zip
Fix CHANGELOG format [ci skip]
* Add backticks * Expand tabs * Fix indentation
Diffstat (limited to 'activejob')
-rw-r--r--activejob/CHANGELOG.md9
1 files changed, 5 insertions, 4 deletions
diff --git a/activejob/CHANGELOG.md b/activejob/CHANGELOG.md
index 0867ba4e9b..ff8375e690 100644
--- a/activejob/CHANGELOG.md
+++ b/activejob/CHANGELOG.md
@@ -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:
class RemoteServiceJob < ActiveJob::Base
- discard_on(CustomAppException) do |job, exception|
- ExceptionNotifier.caught(exception)
- end
+ discard_on(CustomAppException) do |job, exception|
+ ExceptionNotifier.caught(exception)
+ end
def perform(*args)
# Might raise CustomAppException for something domain specific
@@ -14,6 +14,7 @@
*Aidan Haran*
+
## Rails 5.2.0.beta2 (November 28, 2017) ##
* No changes.