I have this array:
{ :details=> [ { "account" =>"", "address" =>"", "category" =>"send", "amount" =>0.0, "fee" =>0.0 }, { "account" =>"payment", "address" =>"SXX5kpEyF8w1oK913wVg2ZbJWpLmWnCgAU", "category" =>"receive", "amount" =>1.0 } ] } How can I access the second "address" element in ruby? When I do
address: detail[:address] I get only the first one (which is empty).