On Fri, May 25, 2012 at 9:22 AM, Matthew Kerwin <matthew / kerwin.net.au> wrote:
> The keys in the hash appear to be strings, so use: product[1]["id"]
>
> Although what you wrote doesn't match the data structure, so I'm kind
> of guessing here.

Maksim, can you post a http://sscce.org/ - maybe as gist or pastie?

Kind regards

robert

-- 
remember.guy do |as, often| as.you_can - without end
http://blog.rubybestpractices.com/