foobar = DB[SELECT foo FROM bar].all foobar.each{|x| puts x} i get fooTest foogoes foowrong the column foo i selected is always in front of the result.