0
Posted on 2nd November 2008 by Guillaume Moigneu
As Rails 2.x is now available, you must have saw that the views templates are now .html.erb files instead of .rhtml ones. Those new extensions are not recognized for those who are coding with TextMate on Mac.
All you need to correct this issue is going to Textmate Menu: Bundles -> Bundle Editor -> Show Bundle Editor -> Ruby on Rails -> Rails (HTML) and find the line :
fileTypes = ( 'rhtml' );
Now replace it with :
fileTypes = ( 'rhtml', 'erb' );
And you’re done.
Popularity: 87% [?]

