Harold wrote:
> A legs table seems more flexible, however:
>
> <tr>
> <% (1..36).each do |p| %>
> <td>Leg <%= @race.send(('leg' + p).to_sym) %></td>
> <% end %>
> </tr>
>
> On Nov 21, 5:59�pm, Bill McGuire <[EMAIL PROTECTED]>
Harold...worked just like I wanted. The only thing I had to do was add
'.to_s' after 'p'.
Thanks !
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---