aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG
diff options
context:
space:
mode:
authorDavid Heinemeier Hansson <david@loudthinking.com>2009-12-27 17:54:43 -0800
committerDavid Heinemeier Hansson <david@loudthinking.com>2009-12-27 17:54:43 -0800
commit1c47d04ea5ac19601b316daf8fdc6f38c50eec73 (patch)
treef014e4d006cc02aa06e4c75f365723fe5f6672a3 /activesupport/CHANGELOG
parenta642edbef31fe96fad488accf0052653c573e8db (diff)
downloadrails-1c47d04ea5ac19601b316daf8fdc6f38c50eec73.tar.gz
rails-1c47d04ea5ac19601b316daf8fdc6f38c50eec73.tar.bz2
rails-1c47d04ea5ac19601b316daf8fdc6f38c50eec73.zip
Added Object#presence that returns the object if it's #present? otherwise returns nil [DHH/Colin Kelley]
Diffstat (limited to 'activesupport/CHANGELOG')
-rw-r--r--activesupport/CHANGELOG2
1 files changed, 2 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG b/activesupport/CHANGELOG
index cc4a2ff90e..9b0a84678a 100644
--- a/activesupport/CHANGELOG
+++ b/activesupport/CHANGELOG
@@ -1,5 +1,7 @@
*Edge*
+* Added Object#presence that returns the object if it's #present? otherwise returns nil [DHH/Colin Kelley]
+
* Add Enumerable#exclude? to bring parity to Enumerable#include? and avoid if !x.include?/else calls [DHH]
* Update Edinburgh TimeZone to use "Europe/London" instead of "Europe/Dublin" #3310 [Phil Ross]