From: Scott Date: 2006-03-20T00:13:49+09:00 Subject: Re: String keys in hash Why are you wrapping params['id'] in double quotes? If params['id'] is already equal to your key in @codes, you can just use: @codes[params['id']] -Scott