From: "David A. Black" Date: 2008-04-23T04:25:08+09:00 Subject: Re: Hashes Hi -- On Wed, 23 Apr 2008, Tim Wolak wrote: > Can Ruby create a hash and have a key and the value be an array? Let's ask it :-) $ irb irb(main):001:0> hash = { [1,2,3] => [4,5,6] } => {[1, 2, 3]=>[4, 5, 6]} That would be a yes :-) I haven't quite analyzed your code sample but you can definitely do the above. David -- Rails training from David A. Black and Ruby Power and Light: INTRO TO RAILS June 9-12 Berlin ADVANCING WITH RAILS June 16-19 Berlin INTRO TO RAILS June 24-27 London (Skills Matter) See http://www.rubypal.com for details and updates!