Ruby-on-rails – Ruby on Rails “Template is missing” Error

rubyruby-on-rails

I am getting the following error:

Template is missing

Missing template admin/settings with {:formats=>[:html],
:locale=>[:en, :en], :handlers=>[:rxml, :erb, :builder, :rjs, :rhtml]}
in view paths "C:/Users/Me/Desktop/Application/app/views"

But everything seems to be in place. I made sure the properties allow everyone full access to that file for troubleshooting, still a no go. What am I missing here?

enter image description here

Ruby 1.8.7 Rails 3.0.3

Best Answer

The name of your template file should be "settings.html.erb". You're missing an "e" in the file extension.

Note the part of the error where it says :handlers=>[:rxml, :erb, :builder, :rjs, :rhtml]. The file extension of your view must be one of these for the template to be processed.