Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

editing comments regarding rescuable optoin in AS callbacks

  • Loading branch information...
commit b461fe76f47dc34a6a958d1761ac0332421627fd 1 parent 726a66a
@neerajdotname neerajdotname authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 activesupport/lib/active_support/callbacks.rb
View
5 activesupport/lib/active_support/callbacks.rb
@@ -549,8 +549,9 @@ def reset_callbacks(symbol)
# 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.
Please sign in to comment.
Something went wrong with that request. Please try again.