aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorRoque Pinel <repinel@gmail.com>2015-09-24 21:33:58 -0400
committerRoque Pinel <repinel@gmail.com>2015-10-01 13:04:20 -0400
commite2b3ccd1aa56ae467b0fe5c7466136a4d18fa7ef (patch)
treedeed1044692fa672ae1a9f74ed4164be8cd4337e /activerecord
parent7db7b287ecd616d61dd09147888d02b74d219dd1 (diff)
downloadrails-e2b3ccd1aa56ae467b0fe5c7466136a4d18fa7ef.tar.gz
rails-e2b3ccd1aa56ae467b0fe5c7466136a4d18fa7ef.tar.bz2
rails-e2b3ccd1aa56ae467b0fe5c7466136a4d18fa7ef.zip
Refactor AS::Callbacks halt config and fix the documentation
Move from `AS::Callbacks::CallbackChain.halt_and_display_warning_on_return_false` to `AS::Callbacks.halt_and_display_warning_on_return_false` base on [this discussion](https://github.com/rails/rails/pull/21218#discussion_r39354580) Fix the documentation broken by 0a120a818d413c64ff9867125f0b03788fc306f8
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/CHANGELOG.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index 50a556daff..6a40d32ef9 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1117,7 +1117,7 @@
In the past, returning `false` in an Active Record `before_` callback had the
side effect of halting the callback chain.
This is not recommended anymore and, depending on the value of the
- `config.active_support.halt_callback_chains_on_return_false` option, will
+ `ActiveSupport.halt_callback_chains_on_return_false` option, will
either not work at all or display a deprecation warning.
*claudiob*