From: "Carina C. Zona" Date: 2011-10-03T16:55:05+09:00 Subject: Re: Need some help with hashes, don't know what fails Take another look at value.inspect. Those hash keys are symbols, not strings. value.has_key? :what et al should work. On Mon, Oct 3, 2011 at 12:42 AM, Antonio Fernández vara wrote: > notifications = Hash.new > > notifications['1'] = { what: 'text', who: 'Antonio', when: Time.now} > notifications['2'] = { what: 'text', who: 'Alfonso', when: Time.now} > notifications['3'] = { what: 'text', who: 'Alberto', when: Time.now} > > notifications.each do |key, value| --   Carina