Skip to content

Instantly share code, notes, and snippets.

@hienvd
Created May 25, 2017 15:26
Show Gist options
  • Save hienvd/b2c0d762abc647d04e7774aaf03af9b5 to your computer and use it in GitHub Desktop.
Save hienvd/b2c0d762abc647d04e7774aaf03af9b5 to your computer and use it in GitHub Desktop.
Using haml Rails 5
  1. install HAML Gemfile: add gem 'haml-rails' to Gemfile
  2. bundle
  3. run rake haml:erb2haml to convert all erb to haml files => has option to delete old erb files, but becareful :) that's all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment