开发者

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 t开发者_StackOverflowext on the page.

What am I doing wrong?


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜