Best strategy to use HAML template with Backbone.js
I know you already mentioned it but I would suggest using haml-js with Jammit. Simply include haml.js in your javascripts and in your assets.yml add template_function: Haml as well as including your template files in to a package. e.g. javascript_templates: – app/views/**/*.jst.haml Then in your views you can include this package (= include_javascripts :javascript_templates) and … Read more