Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove deprecated halt_callback_chains_on_return_false option
  • Loading branch information
rafaelfranca committed Oct 23, 2017
1 parent c792354 commit 19fbbeb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 12 deletions.
4 changes: 4 additions & 0 deletions activesupport/CHANGELOG.md
@@ -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*
Expand Down
12 changes: 0 additions & 12 deletions activesupport/lib/active_support.rb
Expand Up @@ -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
Expand Down

0 comments on commit 19fbbeb

Please sign in to comment.