Luke Ivers wrote:
One that caught my attention was the Hash.from_xml function... as I was talking it over with another programmer, I got to wondering, how would it deal with something like:
<listofnames> <name>Bob</name> <name>Jim</name> <name>Frank</name> </listofnames>
Hash.from_xml("<listofnames><name>Bob</name><name>Jim</name></listofnames>")
=> {"listofnames"=>{"name"=>["Bob", "Jim"]}}
It doesn't take long to just try something out. I recommend
setting up a project using "edge Rails" so you can easily do this.
Dan Manges