From: Paul Roche Date: 2010-10-25T03:10:18+09:00 Subject: Re: Utilizing data from a csv file Jeremy Bopp wrote in post #956737: > On 10/24/2010 12:56 PM, Paul Roche wrote: >> Incidentally, this does what I want to achieve >> >> >> def self.build_all(songs) >> >> songs = ObjectSpace.each_object(Song).to_a >> >> end > > Aside from the mess of using ObjectSpace like this, for what reason do > you pass in a value for songs in the first place? ;-) > > -Jeremy Yeah good point. I don't have my thinking cap on with this ruby stuff :) -- Posted via http://www.ruby-forum.com/.