Displaying 1 result from an estimated 1 matches for "_worklist".
Did you mean:
worklist
2006 Apr 30
4
renamed partial won''t render?
hi all
this works
<%= render :partial => "admin/works/work", :collection =>
@artist.works %>
but this doesn''t
<%= render :partial => "admin/works/worklist", :collection =>
@artist.works %>
even though the partial _work.rhtml and _worklist.rhtml are identical.
worklist.rhtml throws
undefined local variable or method `work''
Extracted source (around line #2):
1: <tr>
2: <td><%= link_to work.short_title, :action => ''edit'', :id =>
work %></td>
any ideas why?...