Rack middleware that injects profiling data into HTML responses. This project was inspired by StackOverflow's mvc-mini-profiler.
To do...
Add the following line to your Gemfile
gem "rack-mini_profiler"
Then add the following lines to your application.rb file
require "rack/mini_profiler"
config.middleware.use "Rack::MiniProfiler"
Rack::MiniProfiler::Options.inject_jquery # Default false
Rack::MiniProfiler::Options.inject_jquery_tmpl # Default true
Rack::MiniProfiler::Options.jquery_path # Default "https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"