aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2018-12-05 13:37:48 -0500
committerRafael Mendonça França <rafaelmfranca@gmail.com>2018-12-05 13:52:44 -0500
commit884310fdd031ed8121944f9ea07c8b7723c4e6b6 (patch)
tree626ade08923335b89f533a2311f4cf34ea163394 /guides
parentb802e08273f899d5f3b199f7c6a4f5d514c1b0e1 (diff)
downloadrails-884310fdd031ed8121944f9ea07c8b7723c4e6b6.tar.gz
rails-884310fdd031ed8121944f9ea07c8b7723c4e6b6.tar.bz2
rails-884310fdd031ed8121944f9ea07c8b7723c4e6b6.zip
Improve deprecation message for enqueue returning false
And make sure new applications in Rails 6.0 has this config enabled. Also, improve test coverage and add a CHANGELOG entry.
Diffstat (limited to 'guides')
-rw-r--r--guides/source/configuring.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index 960a43406b..029ae1a5ff 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -782,6 +782,8 @@ There are a few configuration options available in Active Support:
* `config.active_job.custom_serializers` allows to set custom argument serializers. Defaults to `[]`.
+* `config.active_job.return_false_on_aborted_enqueue` change the return value of `#enqueue` to false instead of the job instance when the enqueuing is aborted. Defaults to `false`.
+
### Configuring Action Cable
* `config.action_cable.url` accepts a string for the URL for where