This project is archived and is in readonly mode.

Changeset [b41d8f30debc92ac24003d42c0b50a1d6e36cfa1] by Andre Arko

April 14th, 2011 @ 10:00 AM

attributes no longer disappear if a tag contains whitespace

old:
Hash.from_xml("\n")
=> {"tag"=>"\n"}

new:
Hash.from_xml("\n")
=> {"tag"=>{"foo"=>"bar", "content"=>"\n"} https://github.com/rails/rails/commit/b41d8f30debc92ac24003d42c0b50...

Committed by Andre Arko

  • M activesupport/lib/active_support/core_ext/hash/conversions.rb
  • M activesupport/test/core_ext/hash_ext_test.rb

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>