Articles tagged 'quick tips'

Quick tip: Convert all your erb templates to haml with zsh

If you are using haml as the template language in a Rails project, it can be very annoying if some Rails plugin generator creates a bunch of erb files. Or you have an existing Rails project where you want to migrate from erb to haml. For converting between these languages, there is the excellent html2haml tool, which used to be bundled with the haml gem but has just been moved to its own gem called html2haml.