Make sure you have the latest HAML release and then type "haml --
rails /path/to/rails3/application" and you should be up and HAML'ing.

   - JohnM

On Feb 10, 7:03 am, "[email protected]" <[email protected]> wrote:
> Hi!
>
> What is the best way to load HAML in a Rails 3 application?
> In Rails 2 applications, I used to just add 'config.gem "haml"' in my
> environment.rb file and even did not have to use the plugin.
>
> Now, just adding gem "haml" in the Gemfile does not seem to activate
> it, I have to add "require 'haml/template'" in my application.rb file.
> Is it the best way?
>
> Nicolas.

-- 
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