aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2005-03-23 11:53:40 +0000
committerDavid Heinemeier Hansson <david@loudthinking.com>2005-03-23 11:53:40 +0000
commit373adc7f86f68f7b16d136835bb9254aaffd797f (patch)
treeead12d0a30ca9343ee8610bd6611b111c663ebcc /activesupport/CHANGELOG
parent3697df1dd2be6e51867bea4d6089f01f8f204f3c (diff)
downloadrails-373adc7f86f68f7b16d136835bb9254aaffd797f.tar.gz
rails-373adc7f86f68f7b16d136835bb9254aaffd797f.tar.bz2
rails-373adc7f86f68f7b16d136835bb9254aaffd797f.zip
Improved error reporting especially around never shallowing exceptions. Debugging helpers should be much easier now #980 [Nicholas Seckar]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@985 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/CHANGELOG')
-rw-r--r--activesupport/CHANGELOG11
1 files changed, 11 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG b/activesupport/CHANGELOG
index 42b01c05be..8168f989b1 100644
--- a/activesupport/CHANGELOG
+++ b/activesupport/CHANGELOG
@@ -1,3 +1,14 @@
+*SVN*
+
+* Added Object#suppress which allows you to make a saner choice around with exceptions to swallow #980. Example:
+
+ suppress(ZeroDivisionError) { 1/0 }
+
+ ...instead of:
+
+ 1/0 rescue nil # BAD, EVIL, DIRTY.
+
+
*1.0.2*
* Added Kernel#returning -- a Ruby-ized realization of the K combinator, courtesy of Mikael Brockman.