MustachePanel is a Rack::Bug panel which tracks the time spent rendering Mustache views as well as all the variables accessed during view rendering.
It can be used to track down slow partials and ensure you're only generating data you need.
Also, it's fun.
Add this line to your application's Gemfile:
gem 'rack-bug-mustache_panel'
And then execute:
$ bundle
Or install it yourself as:
$ gem install rack-bug-mustache_panel
TODO: Write usage instructions here
- Fork it ( https://github.com/[my-github-username]/rack-bug-mustache_panel/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request