html.erb vs erb (and haml equivalents)

Posted by mathee on Stack Overflow See other posts from Stack Overflow or by mathee
Published on 2010-04-26T02:42:32Z Indexed on 2010/04/26 3:13 UTC
Read the original article Hit count: 393

Filed under:
|

I'm not sure I understand the difference between the html.erb files and erb files in the views for a Ruby on Rails application. (Similarly for haml files.)

What are the dis/advantages of each (html.erb/haml or erb/haml) files?

PS I'm not asking about the difference between the erb and haml files -- just appending the extension to an html file versus not appending it.

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about haml