From: Morton Goldberg Date: 2007-06-26T19:55:05+09:00 Subject: Re: Some help needed with understanding ruby hashes On Jun 26, 2007, at 5:27 AM, Frank Church wrote: > I tracked the error, I was testing the using the concatenating strings > without using to_s in the code. ie. > > puts "hashkey value is " + rubyhash["hashkey"] > > instead of > > "hashkey value is " + (rubyhash["hashkey"]).to_s You could have saved yourself a lot trouble by using puts "hashkey value is #{rubyhash["hashkey"]}" Regards, Morton