From: Bob Hutchison Date: 2006-12-22T21:27:15+09:00 Subject: Re: Creating New Objects from REXML::Elements On 21-Dec-06, at 9:25 AM, eddieroger wrote: > def get_movies > temp = @library.root > temp.elements.each('items/movie') { |movie| > @movies.push(Movie.new(movie.attributes['uuid'].to_str, > movie.attributes['fullTitle'], movie.attributes['asin'], > movie.attributes['mpaarating'], movie.attributes['minutes'], > movie.attributes['published'], movie.attributes['price'])) > puts movie.attributes['fullTitle'] > } > end Have you tried to_str on *all* of the arguments? Cheers, Bob ---- Bob Hutchison -- blogs at Recursive Design Inc. -- Raconteur -- xampl for Ruby --