Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed Hash#from_xml with keys that are all caps.
Signed-off-by: Michael Koziarski <michael@koziarski.com>
- Loading branch information
Showing
2 changed files
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
eb201e6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This change is really breaking ActiveResource xml support. All ActiveResource XML based applications are broken because of this change.
For example:
Due to this 'MyElement' xml element wouldn't be converted to my_element object.. It would remain as MyElement.
I wonder if there were no tests to validate this condition.. If there were then they all would be red..
eb201e6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@whydealme: This actually fixes the fact that those elements should not be underscorized in the first place. See commit aa5cdb and Lighthouse #2604.
eb201e6
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let me try again: commit aa5cdb0 and Lighthouse 2604