Skip to content
This repository
Browse code

editing comments regarding rescuable optoin in AS callbacks

  • Loading branch information...
commit b461fe76f47dc34a6a958d1761ac0332421627fd 1 parent 726a66a
Neeraj Singh authored January 12, 2011
5  activesupport/lib/active_support/callbacks.rb
@@ -549,8 +549,9 @@ def reset_callbacks(symbol)
549 549
       #   halts the chain.
550 550
       #
551 551
       # * <tt>:rescuable</tt> - By default, after filters are not executed if
552  
-      #   the given block or a before filter raises an error. Set this option to
553  
-      #   true to change this behavior.
  552
+      #   the given block or a before filter raises an error. By setting this option
  553
+      #   to <tt>true</tt> exception raised by given block is stored and after
  554
+      #   executing all the after callbacks the stored exception is raised.
554 555
       #
555 556
       # * <tt>:scope</tt> - Indicates which methods should be executed when an object
556 557
       #   is used as a callback.

0 notes on commit b461fe7

Please sign in to comment.
Something went wrong with that request. Please try again.