mustache-js-rails

Gem Version

mustache-js-rails integrates mustache.js and mustache jQuery integration with rails 3.1+ asset pipeline.

Integrated versions are:

  • mustache.js - 4.1.0
  • jQuery mustache - 0.2.8

Installation

Add

gem 'mustache-js-rails'`

to your Gemfile

and

//= require mustache

to your app/assets/javascripts/application.js or other js manifest file.

For jQuery integration also add:

//= require jquery.mustache