Replace ERB files with HAML
The gem htmltohaml provides an easy method to convert your ERB files into HAML files. It generates a new converted file with the .haml extension for each .erb file, leaving you with both copies.
Today I used this command to quickly remove about twenty of these redundant .erb files, after adding the .haml files.
$ find . -name \*.erb | xargs git rm
Tweet