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 :
..... ... .....Then i try to do :
Video.new(Hash.form_xml(@xml))
and then i ve got this error : undefined method `videos=’ for #<Video:
0x3f6e82c>
I guess the problem is caused by the tag into the xml… ?
Anyway i don t know how to solve my problem, if someone could give me
an hand, i googled since 2hours without reel success :(…
Maybe it s a tricky question, but i m stuck
Thanks