aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG.md
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2012-07-27 12:20:50 -0500
committerDavid Heinemeier Hansson <david@loudthinking.com>2012-07-27 12:22:38 -0500
commit99ea1a875b06feb4346869f371e2a57a2cc0a0fc (patch)
tree1f05fdcff4afc50dc39537b50c595fc5acde059e /activesupport/CHANGELOG.md
parent3205c768b7c592e5b96fdf6a6dd0fd3c2c9e5775 (diff)
downloadrails-99ea1a875b06feb4346869f371e2a57a2cc0a0fc.tar.gz
rails-99ea1a875b06feb4346869f371e2a57a2cc0a0fc.tar.bz2
rails-99ea1a875b06feb4346869f371e2a57a2cc0a0fc.zip
will now return nil instead of raise a NoMethodError if the receiving object does not implement the method
Diffstat (limited to 'activesupport/CHANGELOG.md')
-rw-r--r--activesupport/CHANGELOG.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md
index df144dd00b..0e7a16aa96 100644
--- a/activesupport/CHANGELOG.md
+++ b/activesupport/CHANGELOG.md
@@ -1,5 +1,7 @@
## Rails 4.0.0 (unreleased) ##
+* `Object#try` will now return nil instead of raise a NoMethodError if the receiving object does not implement the method *DHH*
+
* `Time#change` now works with time values with offsets other than UTC or the local time zone. *Andrew White*
* `ActiveSupport::Callbacks`: deprecate usage of filter object with `#before` and `#after` methods as `around` callback. *Bogdan Gusiev*