aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib
diff options
context:
space:
mode:
authorNeeraj Singh <neerajdotname@gmail.com>2011-01-12 22:37:34 -0500
committerNeeraj Singh <neerajdotname@gmail.com>2011-01-12 22:37:34 -0500
commitb461fe76f47dc34a6a958d1761ac0332421627fd (patch)
treee75abd09989d5bfdbe1556ba793e25160375b6fe /activesupport/lib
parent726a66a7a46c1274a3a1ff45b589952252749ebe (diff)
downloadrails-b461fe76f47dc34a6a958d1761ac0332421627fd.tar.gz
rails-b461fe76f47dc34a6a958d1761ac0332421627fd.tar.bz2
rails-b461fe76f47dc34a6a958d1761ac0332421627fd.zip
editing comments regarding rescuable optoin in AS callbacks
Diffstat (limited to 'activesupport/lib')
-rw-r--r--activesupport/lib/active_support/callbacks.rb5
1 files 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.
#
# * <tt>:rescuable</tt> - 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 <tt>true</tt> exception raised by given block is stored and after
+ # executing all the after callbacks the stored exception is raised.
#
# * <tt>:scope</tt> - Indicates which methods should be executed when an object
# is used as a callback.