i'm attempting to generate new XML documents and save them to a file
in a custom location. however, after reading the documentation on the
XML builder (
http://nokogiri.org/Nokogiri/XML/Builder.html) i see
nothing mentioned in the explanations or the code that talks about XML
file creation and saving. i am fairly new to rails and ruby so i may
be missing something.
how can i save the generated XML document to a file?