From: Matt Brooks Date: 2009-09-16T01:36:38+09:00 Subject: Re: Array of Hashes in an array of hashes - Complicated! > Therefore to save the first repeating field "I think" it would be > something like >> signal_data[signal_index][:num_times_repeated_array][repeated_field_index][:parameter_name] = parameter_value Two things, I meant for the above to save parameter_name for now, later on, i want it to save the parameter_value to a hash key of the parameter_name... >> signal_data[signal_index][:num_times_repeated_array][repeated_field_index][:parameter_name] = parameter_name Also I guess I forgot to declare the hashes for the second array: >num_times_repeated_array[repeated_field_index] = Hash.new Then I could save stuff to it??? > signal_data[signal_index][:num_times_repeated_array][repeated_field_index][:parameter_name] = parameter_name -- Posted via http://www.ruby-forum.com/.