Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Remove deprecated `halt_callback_chains_on_return_false` option
- Loading branch information
Showing
with
4 additions
and
12 deletions.
-
+4
−0
activesupport/CHANGELOG.md
-
+0
−12
activesupport/lib/active_support.rb
|
|
@@ -1,3 +1,7 @@ |
|
|
* Remove deprecated `halt_callback_chains_on_return_false` option. |
|
|
|
|
|
*Rafael Mendonça França* |
|
|
|
|
|
* Remove deprecated `:if` and `:unless` string filter for callbacks. |
|
|
|
|
|
*Rafael Mendonça França* |
|
|
|
@@ -82,18 +82,6 @@ def self.eager_load! |
|
|
|
|
|
cattr_accessor :test_order # :nodoc: |
|
|
|
|
|
def self.halt_callback_chains_on_return_false |
|
|
ActiveSupport::Deprecation.warn(<<-MSG.squish) |
|
|
ActiveSupport.halt_callback_chains_on_return_false is deprecated and will be removed in Rails 5.2. |
|
|
MSG |
|
|
end |
|
|
|
|
|
def self.halt_callback_chains_on_return_false=(value) |
|
|
ActiveSupport::Deprecation.warn(<<-MSG.squish) |
|
|
ActiveSupport.halt_callback_chains_on_return_false= is deprecated and will be removed in Rails 5.2. |
|
|
MSG |
|
|
end |
|
|
|
|
|
def self.to_time_preserves_timezone |
|
|
DateAndTime::Compatibility.preserve_timezone |
|
|
end |
|
|