On 5/28/07, giles bowkett <[EMAIL PROTECTED]> wrote:
>
>
> The scaffolding templates all use
>
> <% for x in y %>
>
> instead of
>
> <% x.each do |y| %>


So? That's the same loop. "for .. in" is easier to write and looks nicer in
templates.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Core" 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-core?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to