XmlSimple's keeproot option key has to be a string
Reported by Xavier Noria | December 27th, 2007 @ 02:35 PM | in Second Edition
The examples about XmlSimple at the bottom of page 516 use an option :keeproot as a symbol. But if you try them in the Rails console you get this error
NoMethodError: undefined method `downcase' for :keeproot:Symbol
Looks like only a string "keyroot" (case-insensitive) is permitted.
In addition, the output of the first example has a spurious space between the opening curly brace and the left quote. And irb does not print single quotes.
Comments and changes to this ticket
-
Obie January 7th, 2008 @ 08:17 PM
- → State changed from new to open
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
