I have been searching the internet for a way to create an xml document from a CSV document using rails. I was wondering if anyone knew how, or could point me in the direction, of how to create a new file and lines to it. I already know how to parse the CSV file. I just need help on creating the new xml file, adding lines to it, and saving it all in a rails controller.Any gems that will make this easier would be very much appreciated!Edit: I would like to create this file line by line