Displaying 1 result from an estimated 1 matches for "vlogiciels".
Did you mean:
logiciels
2008 May 23
3
Problem with .to_xml and Hash.form_xml ?
Hi,
i m trying to do some kind of database dump using .to_xml
and after i try to fill my database back (well an other) with the
content of the xml.
Right now i m doing that :
@xml = Video.find(:all).to_xml(:include=>[:vlogiciels])
it does produce :
<videos>
<video>
<mycolumns>
.....
<vlogiciels>
<logiciel>
<my vlogiciels columns>
...
</logiciel>
</vlogiciels>
.....
</video&...