From: Ilan Berci Date: 2006-10-24T23:47:08+09:00 Subject: Re: How do you save the contents of an object? Steve Quezadas wrote: > Is there an easy way to save the contents of an object in ruby? > As a further aside to saving with yaml, yet another fantastic little goody that RoR provides is the method .to_yaml() .. ilan@iberci-pc:~/rails$ script/console Loading development environment. >> "sample".to_yaml => "--- sample\n" -- Posted via http://www.ruby-forum.com/.