Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rails: App Templates / script generators with HAML?

Is there any way to create an app template in Rails that generates the views in HAML rather than ERB?

App Templates: http://railscasts.com/episodes/148-app-templates-in-rails-2-3

If not, are there any plugins/gems that I can use to have all my generator scripts output HAML instead of ERB?

like image 771
neezer Avatar asked Feb 15 '10 16:02

neezer


3 Answers

My favorite: http://github.com/indirect/haml-rails

like image 139
Aidan Feldman Avatar answered Nov 11 '22 23:11

Aidan Feldman


Try norman's haml-scaffold on Github.

like image 41
Matchu Avatar answered Nov 11 '22 23:11

Matchu


Another one by Mister Bleigh http://github.com/mbleigh/haml-rails

like image 1
dolzenko Avatar answered Nov 12 '22 00:11

dolzenko