aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2008-05-19 19:28:33 +0200
committerXavier Noria <fxn@hashref.com>2008-05-19 19:28:33 +0200
commit43d0200d94b7d66cee9ef3d20c376e03f30b1b60 (patch)
treedc937120a88d9c72de9784ea696ad40642d29851 /activesupport
parent0b580047fecaa474aaae4c618e67420fbe545781 (diff)
downloadrails-43d0200d94b7d66cee9ef3d20c376e03f30b1b60.tar.gz
rails-43d0200d94b7d66cee9ef3d20c376e03f30b1b60.tar.bz2
rails-43d0200d94b7d66cee9ef3d20c376e03f30b1b60.zip
gsub("xml", "XML")
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/core_ext/hash/conversions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/core_ext/hash/conversions.rb b/activesupport/lib/active_support/core_ext/hash/conversions.rb
index 3d6a8d8588..f0f54a92fe 100644
--- a/activesupport/lib/active_support/core_ext/hash/conversions.rb
+++ b/activesupport/lib/active_support/core_ext/hash/conversions.rb
@@ -212,7 +212,7 @@ module ActiveSupport #:nodoc:
nil
# If the type is the only element which makes it then
# this still makes the value nil, except if type is
- # a xml node(where type['value'] is a Hash)
+ # a XML node(where type['value'] is a Hash)
elsif value['type'] && value.size == 1 && !value['type'].is_a?(::Hash)
nil
else