I have tried to render some files with HAML in Rails 3 without success.
My testfiles have the extension .html.haml.
In my Gemfile, I have the line gem 'haml' and have run bundle install.
When I run my app, I get the following error:
Template is missing
Missing template posts/index with {:locale=>[:en, :en], :formats=>[:html], :handlers=>[:rjs, :rhtml, :rxml, :builder, :erb]} in view paths "/Users/piet/Sites/blog/app/views"`
Any idea on how to resolve this?
yourview.html.erbtoyourview.html.hamland it showedTemplate is Missing. So I restarted rails server and it's working now. - Bao