> 4: <% y = '' %> > 5: <% for d in @dates > 6: if y.to_s != d.y.to_s
also if I rewrite line 6 in the following way it works 6: if y != d['y'].to_s but it requires to change a lot of code Regards. Pavel --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---