Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Changeset [b41d8f30debc92ac24003d42c0b50a1d6e36cfa1] by Andre Arko

Revision b41d8f30debc92ac24003d42c0b50a1d6e36cfa1, committed 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...

2 changed files

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