From 8f0b0eecb007d08dfcc1d3c334c828c3ef877bfe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Mon, 5 Mar 2018 15:12:04 -0500 Subject: 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. --- activesupport/lib/active_support/callbacks.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activesupport/lib/active_support/callbacks.rb') 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 # * :skip_after_callbacks_if_terminated - Determines if after # callbacks should be terminated by the :terminator option. By # default after callbacks are executed no matter if callback chain was - # terminated or not. This option makes sense only when :terminator - # option is specified. + # terminated or not. This option has no effect if :terminator + # option is set to +nil+. # # * :scope - Indicates which methods should be executed when an # object is used as a callback. -- cgit v1.2.3