From b461fe76f47dc34a6a958d1761ac0332421627fd Mon Sep 17 00:00:00 2001 From: Neeraj Singh Date: Wed, 12 Jan 2011 22:37:34 -0500 Subject: editing comments regarding rescuable optoin in AS callbacks --- activesupport/lib/active_support/callbacks.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/activesupport/lib/active_support/callbacks.rb b/activesupport/lib/active_support/callbacks.rb index f79363d953..6e284182b2 100644 --- a/activesupport/lib/active_support/callbacks.rb +++ b/activesupport/lib/active_support/callbacks.rb @@ -549,8 +549,9 @@ module ActiveSupport # halts the chain. # # * :rescuable - By default, after filters are not executed if - # the given block or a before filter raises an error. Set this option to - # true to change this behavior. + # the given block or a before filter raises an error. By setting this option + # to true exception raised by given block is stored and after + # executing all the after callbacks the stored exception is raised. # # * :scope - Indicates which methods should be executed when an object # is used as a callback. -- cgit v1.2.3