title: Measuring rails json api with rack mini profiler
body: <p>How do we get rack-mini-profiler to show in a rails json api? I believe this was asked here: <a href="https://stackoverflow.com/questions/23657334/how-to-profile-a-rails-controller-that-returns-a-json-response-with-rack-mini-pr">How to profile a rails controller that returns a json response with rack-mini-profiler?</a> but the only answer is to try it out on an html file. How do we see the profiler measurements on a json page?</p>