2009/9/19 Joe <j...@dev-hq.co.uk>: > > Yes.. Is it definitely in views/tutorials rather than views/categories?
Does the alternative syntax work: render :partial => "tutorials/tutorial", :collection => @category.tutorials Colin > > On Sep 19, 1:53 pm, Colin Law <clan...@googlemail.com> wrote: >> 2009/9/19 Joe <j...@dev-hq.co.uk>: >> >> >> >> > Hi, My partial simply wont render a .html.erb file. This is exactly >> > what I get on the error screen: >> >> > ActionView::MissingTemplate in Categories#show >> >> > Showing app/views/categories/show.html.erb where line #7 raised: >> >> > Missing template tutorials/_tutorial.erb in view path app/views >> >> Have you got a tutorials/_tutorial.erb in app/views? >> >> Colin >> >> >> >> > Extracted source (around line #7): >> >> > 4: </p> >> > 5: <h2>Tutorials</h2> >> > 6: <div id="tutorials"> >> > 7: <%= render :partial => @category.tutorials %> >> > 8: </div> >> > 9: >> > 10: <h2>New Tutorial</h2> >> >> >snip > > > --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---