aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/CHANGELOG
diff options
context:
space:
mode:
authorRick Olson <technoweenie@gmail.com>2006-09-01 16:09:18 +0000
committerRick Olson <technoweenie@gmail.com>2006-09-01 16:09:18 +0000
commite4a4287c971f6e61f59815988f5fc69176cb14de (patch)
treebf1237a7899e023ff9bf54d449af4ad517265cc6 /activesupport/CHANGELOG
parent5f175edde59e65b991d84fe30cad2b102fc7347b (diff)
downloadrails-e4a4287c971f6e61f59815988f5fc69176cb14de.tar.gz
rails-e4a4287c971f6e61f59815988f5fc69176cb14de.tar.bz2
rails-e4a4287c971f6e61f59815988f5fc69176cb14de.zip
Fix cases where empty xml nodes weren't being translated to nil in Hash.create_from_xml [Rick Olson]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@4895 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activesupport/CHANGELOG')
-rw-r--r--activesupport/CHANGELOG5
1 files changed, 5 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG b/activesupport/CHANGELOG
index 1d15c27fef..cf66ee470e 100644
--- a/activesupport/CHANGELOG
+++ b/activesupport/CHANGELOG
@@ -1,5 +1,10 @@
*SVN*
+* Fix cases where empty xml nodes weren't being translated to nil in Hash.create_from_xml [Rick Olson]
+
+ <written-on type="date"></written-on> # => { :type => 'date' } # WRONG
+ <written-on type="date"></written-on> # => nil # RIGHT
+
* Tighten rescue clauses. #5985 [james@grayproductions.net]
* Inflections: don't singularize -ies plurals. [foamdino@gmail.com, Mark Van Holstyn]