diff options
author | Alexey Vakhov <vakhov@gmail.com> | 2012-05-25 18:30:56 +0400 |
---|---|---|
committer | Alexey Vakhov <vakhov@gmail.com> | 2012-05-25 18:30:56 +0400 |
commit | cb25bce26f44806fca780cd8ddd3d18c3b999dc0 (patch) | |
tree | 54e40b17834e829dc4065906247f7c5c994b4bf7 | |
parent | a1a16de49bd223086002a4dab899ed441bb9c956 (diff) | |
download | rails-cb25bce26f44806fca780cd8ddd3d18c3b999dc0.tar.gz rails-cb25bce26f44806fca780cd8ddd3d18c3b999dc0.tar.bz2 rails-cb25bce26f44806fca780cd8ddd3d18c3b999dc0.zip |
Fix unbalanced braces in Hash#typecast_xml_value internal comment
-rw-r--r-- | activesupport/lib/active_support/core_ext/hash/conversions.rb | 2 |
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 43ba05a256..7c72ead36c 100644 --- a/activesupport/lib/active_support/core_ext/hash/conversions.rb +++ b/activesupport/lib/active_support/core_ext/hash/conversions.rb @@ -129,7 +129,7 @@ class Hash else xml_value = Hash[value.map { |k,v| [k, typecast_xml_value(v)] }] - # Turn { :files => { :file => #<StringIO> } into { :files => #<StringIO> } so it is compatible with + # Turn { :files => { :file => #<StringIO> } } into { :files => #<StringIO> } so it is compatible with # how multipart uploaded files from HTML appear xml_value['file'].is_a?(StringIO) ? xml_value['file'] : xml_value end |