rails: how to loop array?

Posted by Totty on Stack Overflow See other posts from Stack Overflow or by Totty
Published on 2010-05-09T22:35:03Z Indexed on 2010/05/09 22:38 UTC
Read the original article Hit count: 181

Filed under:
|

Hy,

I have:

@layout = [:maincol => ['a'], :sidecol => []]

then i want to loop and get

how to do it?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about loop