2009/9/19 Joe <[email protected]>:
>
> 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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to