Following the guide at http://github.com/fortuity/rails3-mongoid-devise
I've managed to setup Rails 3 with Haml, Devise, and Mongoid.

Only problem is I can't get Rails to render my Haml views:

Started GET "/" for 127.0.0.1 at 2010-07-01 11:11:46 +0200
Processing by HomeController#index as HTML

Note that it doesn't return a missing template error, it just renders
the view as plain html. The filename follows the convention:

app/views/home/index.html.haml

and in the Gemfile I have:

# Bundle gems needed for Haml
gem 'haml', '3.0.13'
gem "rails3-generators", :group => :development

Since I am new to Rails, I am not sure what the execution path looks
like for deciding what renderer to use, etc. Can someone suggest what
I may have missed in my setup or where to look for errors? (This is
Rails.3.beta4)

PS. This is a re-post of a question on StackOverflow[0]. I'm only
posting here since I'm wondering if it might be a Haml/Rails bug;
although it's most likely User Error :-)

Thanks in advance for any ideas or suggestions!
Norbert

[0] http://stackoverflow.com/questions/3156542/rails-3-renders-haml-file-as-html

-- 
You received this message because you are subscribed to the Google Groups 
"Haml" 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/haml?hl=en.

Reply via email to