aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/rescuable.rb
diff options
context:
space:
mode:
authortwinturbo <me@broadcastingadam.com>2012-04-28 22:32:18 -0700
committertwinturbo <me@broadcastingadam.com>2012-04-28 22:32:18 -0700
commit2c136ae0543ea53dcb3a3ef9372b216b54d66172 (patch)
tree71d4bb802e217ae4fbb5b20c9d3ac5afbb77707e /activesupport/lib/active_support/rescuable.rb
parent03c051eb54c5042177ca75a7b2534c1a5cd513e1 (diff)
downloadrails-2c136ae0543ea53dcb3a3ef9372b216b54d66172.tar.gz
rails-2c136ae0543ea53dcb3a3ef9372b216b54d66172.tar.bz2
rails-2c136ae0543ea53dcb3a3ef9372b216b54d66172.zip
Document exception handling inside resce_from handlers
Diffstat (limited to 'activesupport/lib/active_support/rescuable.rb')
-rw-r--r--activesupport/lib/active_support/rescuable.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/activesupport/lib/active_support/rescuable.rb b/activesupport/lib/active_support/rescuable.rb
index 85e84bc203..7aecdd11d3 100644
--- a/activesupport/lib/active_support/rescuable.rb
+++ b/activesupport/lib/active_support/rescuable.rb
@@ -48,6 +48,7 @@ module ActiveSupport
# end
# end
#
+ # Exceptions raised inside exception handlers are not propagated up.
def rescue_from(*klasses, &block)
options = klasses.extract_options!