Apr
1st
Tue
1st
http://dev.rubyonrails.org/ticket/11491
Finally, render :partial => some_collection will pick the right template based on each object in the collection. I can now retire my workaround:
<% some_collection.each do |item| %>
<%= render :partial => item %>
<% end %>
Best part is that the partial_counter is maintained across the different partials.
