Permalink
Browse files

Remove deprecated `halt_callback_chains_on_return_false` option

  • Loading branch information...
rafaelfranca committed Oct 19, 2017
1 parent c792354 commit 19fbbebb1665e482d76cae30166b46e74ceafe29
Showing with 4 additions and 12 deletions.
  1. +4 −0 activesupport/CHANGELOG.md
  2. +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

0 comments on commit 19fbbeb

Please sign in to comment.