aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2017-02-08 11:06:19 -0300
committerGitHub <noreply@github.com>2017-02-08 11:06:19 -0300
commit47113df0341cd7bf56056bc666527978c586c7c5 (patch)
tree9c6ecd05cb4201495be33a352181f467c49833b5 /guides/source
parent25c6f4c947450c75c5a43ded19d7b6ca8b7c95b6 (diff)
parent70e8fed5a36484ea602c318be74079b58dc543d0 (diff)
downloadrails-47113df0341cd7bf56056bc666527978c586c7c5.tar.gz
rails-47113df0341cd7bf56056bc666527978c586c7c5.tar.bz2
rails-47113df0341cd7bf56056bc666527978c586c7c5.zip
Merge pull request #27940 from y-yagi/deprecate_halt_callback_chains_on_return_false
deprecate `halt_callback_chains_on_return_false` instead of `halt_and_display_warning_on_return_false`
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/configuring.md2
1 files changed, 0 insertions, 2 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md
index baa1efe0d3..bd82035408 100644
--- a/guides/source/configuring.md
+++ b/guides/source/configuring.md
@@ -626,8 +626,6 @@ There are a few configuration options available in Active Support:
* `config.active_support.time_precision` sets the precision of JSON encoded time values. Defaults to `3`.
-* `ActiveSupport.halt_callback_chains_on_return_false` specifies whether Active Record and Active Model callback chains can be halted by returning `false` in a 'before' callback. When set to `false`, callback chains are halted only when explicitly done so with `throw(:abort)`. When set to `true`, callback chains are halted when a callback returns `false` (the previous behavior before Rails 5) and a deprecation warning is given. Defaults to `true` during the deprecation period. New Rails 5 apps generate an initializer file called `new_framework_defaults.rb` which sets the value to `false`. This file is *not* added when running `rails app:update`, so returning `false` will still work on older apps ported to Rails 5 and display a deprecation warning to prompt users to update their code.
-
* `ActiveSupport::Logger.silencer` is set to `false` to disable the ability to silence logging in a block. The default is `true`.
* `ActiveSupport::Cache::Store.logger` specifies the logger to use within cache store operations.