diff options
author | Iain Beeston <iain.beeston@gmail.com> | 2016-07-21 13:00:17 +0100 |
---|---|---|
committer | Iain Beeston <iain.beeston@gmail.com> | 2016-07-21 13:00:17 +0100 |
commit | a11abf19ee608ab08558cc7fade0a48a5f9ed91b (patch) | |
tree | 600513b2fc6ad80c191a7df1182ea64261d106f4 /guides/source | |
parent | c58dcaf0ce53568c5760d7970155f93cec8ba84d (diff) | |
download | rails-a11abf19ee608ab08558cc7fade0a48a5f9ed91b.tar.gz rails-a11abf19ee608ab08558cc7fade0a48a5f9ed91b.tar.bz2 rails-a11abf19ee608ab08558cc7fade0a48a5f9ed91b.zip |
Removed reference to callback_terminator.rb in docs
That file has been removed and replaced with new_framework_defaults.rb
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/configuring.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/configuring.md b/guides/source/configuring.md index fe59155db0..cdba8332f8 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -604,7 +604,7 @@ 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 `callback_terminator.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.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`. |