RE: [Rails] Hookup to partial template fails - Why?

Hi All,

In app\views\home\Start.rhtml, the following code produces a list of customer links:

<td>    <ul>     <% @customers.each do |c| %>     <li>      <!-- < %= link_to_customer(c) % > -->      <%= link_to(c.name,       :controller => 'customer',       :action => 'show',       :id => c.id)      %>     </li>     <% end %>    </ul> </td>

But when I substitute:

<td>   <%= render :partial => customer/list %> </td>

Rails complains:                 undefined local variable or method 'customer'