rack-mini-profiler at Heroku?
===

[Question also asked over on miniprofiler forums.][1]

[Saw a great railscast today][2] about rack-mini-profiler gem, which is EXACTLY what I need right now to track down some performance issues.  Works great in dev, but I really need it in production where the full load of data is.

I'm not very experienced with RACK, or much more than writing my rails app and making it go.  I put in miniprofiler today in our rails project that I need to do some performance fixes on and then put it up into production.  I also followed the instructions here http://samsaffron.com/archive/2012/07/12/miniprofiler-ruby-edition about putting in a before filter, and only turn on profiling if the user is in the appropriate admin groups.  Traced thru the code and it works fine in dev.

In production however, its not turning on.  I don't know if thats because:

1. I need to flip a magic bit somewhere else to tell it to turn on in production
2. I need to do something weird in Heroku to get it to play nice, or
3. There's no hope.

Anyone use this gem in heroku yet and have any feedback?  In the meantime, I'm going to point dev system at production, but that adds additional latency too.


  [1]: http://community.miniprofiler.com/permalinks/79/deploying-to-heroku
  [2]: http://railscasts.com/episodes/368-miniprofiler?autoplay=true