aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorPrathamesh Sonpatki <csonpatki@gmail.com>2019-04-05 15:40:34 +0530
committerPrathamesh Sonpatki <csonpatki@gmail.com>2019-04-05 15:40:34 +0530
commitc35f7b5115ea34ba6b5d8eacf9405efc24b42a28 (patch)
treede456125ce821e4332f43e866c5eecfc0e688c37 /guides/source
parentdc45130c44ebe0d8b621eba29332b35ea2840738 (diff)
downloadrails-c35f7b5115ea34ba6b5d8eacf9405efc24b42a28.tar.gz
rails-c35f7b5115ea34ba6b5d8eacf9405efc24b42a28.tar.bz2
rails-c35f7b5115ea34ba6b5d8eacf9405efc24b42a28.zip
Fix the deprecation warning about `config.active_job.return_false_on_aborted_enqueue`
- It will return false in Rails 6.1 not 6.0. Also fixed the default value which is true for new applications.
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/configuring.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index e1c9fad232..4033d80d90 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -784,7 +784,7 @@ 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`.
+* `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 `true`.
### Configuring Action Cable