> I realize the partial doesn't recognize the person object, but I thought
> rails handled the conversion between the collection @people of the view
> to the iteration in the partial. So.. I'm not sure what I might be doing
> wrong. Help is very appreciated - thanks!

i don't see an iteration. try

  for person in people do
    <tr class=<%= cycle("odd","even")%>>
      <td><%= h person.first_name %></td>
      <td><%= h person.last_name %></td>
    </tr>
  end

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to