How to get hash values????

Hi, please help me....

<% puts "Total #{@totalemail.inspect}" %>

My Output is: Total [{:email=>"aa@gmail.com", :name=>"aa"}, {:email=>"bb@gmail.com", :name=>"bb"}]

How to get email and name???

Thankyou.

@totalemail[0][:email] does the trick ?

Cheers.

[ rui ] [ Seiri, Seiton, Seisō, Seiketsu e Shitsuke ]

Solved... Thank you Very much

Rui Neto wrote: