From: kazaam Date: 2007-08-30T17:15:06+09:00 Subject: Re: How to make an array of hashes to a single array with all the values of these hashes ? thanks guys! dimas solution showed me my error myvalue.each {|arr| @my_new_array << arr.values } puts @my_new_array is working if I initialize @my_new_array = [] before like dima did with a = [] but two questions: Why is a local variable my_new_array not working but just @ instance or $ global variables and why do I have initialize this varriable? I think you don't need this in ruby? But without initialisation it just shows nil? greets -- kazaam