Displaying 1 result from an estimated 1 matches for "m001113".
Did you mean:
001113
2007 Dec 12
2
to_xml ignore fields
Hi!
I''d like to know how to (most easily) ignore some elements from produced
XML ..
for example: @people.to_xml produces:
<person>
<id>2</id>
<name>bob</name>
<street>carson street</street>
</person>
...
How can I *not* produce the "ID" field for example?
Thank you!
--
Posted via http://www.ruby-forum.com/.