From: Adam Nelreth Date: 2010-03-25T18:29:24+09:00 Subject: Re: hash problem Ok - I know how to increase counter - bigger problem is with how to find this ip in table This is how I try to do this: if test.has_key?(ip) == true print "ip in table" else test[ip] = 1 end but this doesn't work :/ -- Posted via http://www.ruby-forum.com/.