From c35f7b5115ea34ba6b5d8eacf9405efc24b42a28 Mon Sep 17 00:00:00 2001 From: Prathamesh Sonpatki Date: Fri, 5 Apr 2019 15:40:34 +0530 Subject: 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. --- guides/source/configuring.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'guides/source') 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 -- cgit v1.2.3