I have a partial view called _footer.html.erb (I only created this file manually) in the app / views / layouts folder. In my application, app / views / layouts / application.html.erb I have:
<%= render 'layouts/_footer.html.erb' %>
When I open the page, I get the following error:
Missing partial layouts/_footer.html.erb with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby, :jbuilder, :coffee]}. Searched in: * "D:/rails/TestApp/app/views" locale => [: en],: formats => [: html],: handlers => [: erb,: builder,: raw,: ruby,: jbuilder,: Missing partial layouts/_footer.html.erb with {:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :raw, :ruby, :jbuilder, :coffee]}. Searched in: * "D:/rails/TestApp/app/views"
I did some research and, as I understand it, the only requirement is an underscore before the name. Did I miss something? I follow this tutorial
source share