aboutsummaryrefslogtreecommitdiffstats
path: root/activejob/lib
diff options
context:
space:
mode:
authorEileen M. Uchitelle <eileencodes@users.noreply.github.com>2019-04-05 11:45:48 -0400
committerGitHub <noreply@github.com>2019-04-05 11:45:48 -0400
commit8c6fedffa1a591360bfe3026e3e75091b120ef82 (patch)
treeb7744ed40a80be92a9f510b04798f258534293e7 /activejob/lib
parent969f2c1dc911ab4a919611832ee3392a7b627456 (diff)
parentc35f7b5115ea34ba6b5d8eacf9405efc24b42a28 (diff)
downloadrails-8c6fedffa1a591360bfe3026e3e75091b120ef82.tar.gz
rails-8c6fedffa1a591360bfe3026e3e75091b120ef82.tar.bz2
rails-8c6fedffa1a591360bfe3026e3e75091b120ef82.zip
Merge pull request #35873 from prathamesh-sonpatki/enqueuing-fixes
Fix the deprecation warning about `config.active_job.return_false_on_aborted_enqueue`
Diffstat (limited to 'activejob/lib')
-rw-r--r--activejob/lib/active_job/enqueuing.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activejob/lib/active_job/enqueuing.rb b/activejob/lib/active_job/enqueuing.rb
index 5609d13f5f..c5ee76a69e 100644
--- a/activejob/lib/active_job/enqueuing.rb
+++ b/activejob/lib/active_job/enqueuing.rb
@@ -67,7 +67,7 @@ module ActiveJob
false
else
ActiveSupport::Deprecation.warn(
- "Rails 6.0 will return false when the enqueuing is aborted. Make sure your code doesn't depend on it" \
+ "Rails 6.1 will return false when the enqueuing is aborted. Make sure your code doesn't depend on it" \
" returning the instance of the job and set `config.active_job.return_false_on_aborted_enqueue = true`" \
" to remove the deprecations."
)