mtay
mtay

Reputation: 1316

haml is not converting html

i am using rails 2, and just installed haml. i can use it from the command line just fine, and I added config.gem "haml" to environment.rb.

but when I open the corresponding web page to the view I see "!!! Strict == == == %html{ :xmlns => "http://www.w3.org/1999/xhtml" } %head " as text on the page.

What am I doing wrong?

Upvotes: 0

Views: 156

Answers (1)

mtay
mtay

Reputation: 1316

turns out after putting the gem in the environments config file, you need to restart script/server...

Upvotes: 3

Related Questions