mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove deprecated :return_false_on_aborted_enqueue
option
This commit is contained in:
parent
fd0ec3f4f6
commit
7c788e9175
3 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
* Remove deprecated `:return_false_on_aborted_enqueue` option.
|
||||
|
||||
*Rafael Mendonça França*
|
||||
|
||||
* Deprecated `Rails.config.active_job.skip_after_callbacks_if_terminated`.
|
||||
|
||||
*Rafael Mendonça França*
|
||||
|
|
|
@ -29,7 +29,6 @@ module ActiveJob
|
|||
|
||||
included do
|
||||
class_attribute :return_false_on_aborted_enqueue, instance_accessor: false, instance_predicate: false, default: false
|
||||
singleton_class.deprecate :return_false_on_aborted_enqueue, :return_false_on_aborted_enqueue=
|
||||
cattr_accessor :skip_after_callbacks_if_terminated, instance_accessor: false, default: false
|
||||
singleton_class.deprecate :skip_after_callbacks_if_terminated, :skip_after_callbacks_if_terminated=
|
||||
|
||||
|
|
|
@ -252,6 +252,8 @@ Please refer to the [Changelog][active-job] for detailed changes.
|
|||
* Removed deprecated behavior that was not halting `after_enqueue`/`after_perform` callbacks when a
|
||||
previous callback was halted with `throw :abort`.
|
||||
|
||||
* Remove deprecated `:return_false_on_aborted_enqueue` option.
|
||||
|
||||
### Deprecations
|
||||
|
||||
* Deprecated `Rails.config.active_job.skip_after_callbacks_if_terminated`.
|
||||
|
|
Loading…
Reference in a new issue