aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2018-03-05 15:12:04 -0500
committerRafael Mendonça França <rafaelmfranca@gmail.com>2018-03-05 15:13:47 -0500
commit8f0b0eecb007d08dfcc1d3c334c828c3ef877bfe (patch)
tree79d78b07fcf1e936575a5171a1785cde77519a6f /activesupport
parente83575ff533690db86c92447a539d76b648e9fed (diff)
downloadrails-8f0b0eecb007d08dfcc1d3c334c828c3ef877bfe.tar.gz
rails-8f0b0eecb007d08dfcc1d3c334c828c3ef877bfe.tar.bz2
rails-8f0b0eecb007d08dfcc1d3c334c828c3ef877bfe.zip
Update skip_after_callbacks_if_terminated documentation
Now we always have a terminator, so we don't need to day the options only make sense when the `:terminator` options is specified.
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/callbacks.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb
index 0ed4681b7d..9a3728d986 100644
--- a/activesupport/lib/active_support/callbacks.rb
+++ b/activesupport/lib/active_support/callbacks.rb
@@ -749,8 +749,8 @@ module ActiveSupport
# * <tt>:skip_after_callbacks_if_terminated</tt> - Determines if after
# callbacks should be terminated by the <tt>:terminator</tt> option. By
# default after callbacks are executed no matter if callback chain was
- # terminated or not. This option makes sense only when <tt>:terminator</tt>
- # option is specified.
+ # terminated or not. This option has no effect if <tt>:terminator</tt>
+ # option is set to +nil+.
#
# * <tt>:scope</tt> - Indicates which methods should be executed when an
# object is used as a callback.