I'm getting the following error when Rails tries to render my layout located in app/views/layouts/application.html.erb:
Missing template shared/_header.erb in view path /home/me/checkout/site/app/views: Extracted source (around line #11):
8: <body>
9: <div id="wrap">
10: <div class="clear">...</div>
11: <%= render :partial => 'shared/header' %>
What's weird about all of this is that I have a directory named shared inside of app/views. Inside there I have a file named _header.html.erb.
I'm using Ruby 1.8.7, Rails
2.2.2, and following the documentation found here.
Update: Even more weirdness. This code works under Windows using InstantRails (Ruby 1.8.6, Rails 2.2.2). However, render :template doesn't seem to work. I'll keep on investigating.