Okay, a newbie issue. Ruby 1.9 3, and the requires are there for other
stuff. I'm trying to access the values of a particular nested hash, but
seem to missing something critical.

The following code gives the following error.

####  Code

#!/opt/puppet/bin/ruby
#encoding: utf-8
#
require 'rubygems'
require 'json'
require 'pp'

id_hash = Hash.new

id_hash["victor"] = Hash.new
id_hash["victor"] = [ "v-123" => "First issue", "v-234" => "Second issue"]
puts "Testing: #{id_hash["victor"]["v-123"]}."

exit

#### Error

12:in `[]': can't convert String into Integer (TypeError)
        from ./make_id_hash.rb:12:in `<main>'

####

What am I missing? Line 12 is "puts" line.

Leam

-- 
Mind on a Mission <http://leamhall.blogspot.com/>