joep
unread,Jul 27, 2010, 8:11:18 AM7/27/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
Hi all,
I have a collection which I render via
<%= render :partial => 'comment', :collection => @results %>
This works exactly as I expect it to.
However, when I change it to
<%= render :partial => @results %>
or
<%= render @results %>
both of which the documentation describe as 'short hand' versions of
the first, I get:
Missing template _comment.erb in view path
in spite of the fact that the template is there and renders correctly
in the first case.
I'm using 2.3.8. Anybody know what is going on?
Thanks for any help.