Hello,
i have problem iterating through hashes, for example I have two
hashes:
1.
{:item => {:subitem => {data => "yes", otherdata => "yes"}}
2.
{:item => {:subitem => [{data => "yes", otherdata => "yes"},{data =>
"no", otherdata => "yes"}]}

I wish with in view iterate through hash and draw table, but using
hash.each function, in first example rails iterate through data and
other data, but in second case through {},{} not data and other data.

Is there any solution how simply solve this problem?

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to