diff options
author | Kasper Timm Hansen <kaspth@gmail.com> | 2015-10-01 19:17:31 +0200 |
---|---|---|
committer | Kasper Timm Hansen <kaspth@gmail.com> | 2015-10-01 19:17:31 +0200 |
commit | f78650d56e75ee266a17e12cd97a136d10484a67 (patch) | |
tree | deed1044692fa672ae1a9f74ed4164be8cd4337e /guides/source/configuring.md | |
parent | 7db7b287ecd616d61dd09147888d02b74d219dd1 (diff) | |
parent | e2b3ccd1aa56ae467b0fe5c7466136a4d18fa7ef (diff) | |
download | rails-f78650d56e75ee266a17e12cd97a136d10484a67.tar.gz rails-f78650d56e75ee266a17e12cd97a136d10484a67.tar.bz2 rails-f78650d56e75ee266a17e12cd97a136d10484a67.zip |
Merge pull request #21760 from repinel/refactor-as-callbacks-halt-config
Refactor AS::Callbacks halt config and fix the documentation
Diffstat (limited to 'guides/source/configuring.md')
-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 f0d87e4dc8..afdb0ba7eb 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -535,7 +535,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`. -* `config.active_support.halt_callback_chains_on_return_false` specifies whether ActiveRecord, ActiveModel and ActiveModel::Validations callback chains can be halted by returning `false` in a 'before' callback. Defaults to `true`. +* `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. Defaults to `true`. * `ActiveSupport::Logger.silencer` is set to `false` to disable the ability to silence logging in a block. The default is `true`. |