Seems to me this would be easier: - @tabs.each_with_index do |tab, index| do stuff with your tab
Sean Jesse wrote: > The most confounding problem is that this haml works locally... > > - @a = 0; for tab in @tabs > do stuff with @[EMAIL PROTECTED] > - @a += 1 > > but it doesn't work remotely at all. what should i look at in this > case? > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Haml" 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/haml?hl=en -~----------~----~----~----~------~----~------~--~---
