Awesome One-Liners
If you just used the built-in Rails generators to create a new controller and you got a bunch of .html.erb files, you'll naturally want .html.haml files instead. Bash can fix those files right fast:
If you just used the built-in Rails generators to create a new controller and you got a bunch of .html.erb files, you'll naturally want .html.haml files instead. Bash can fix those files right fast: