I’m having problems with getting MiniProfiler to show me the reports. I’m just in the Dev environment, which should show it all the time. Adding ?pp=help does bring up the help page. In tmp/miniprofile, there are a ton of mp_timers_ files. Apparently something is happening back there.
At first I thought it was a weird CSS issue, like my navigation bar is covering it. I tried loading the page without CSS and the MiniProfile box still doesn’t show up.
In case it matters, I do have this before_filter set up:
def authorize_miniprofiler
Rack::MiniProfiler.authorize_request if current_user.try(:admin?)
end
Any help would be great. This gem looks incredibly helpful.
Looking into it more, it looks like Miniprofiler is conflicting with the Mixpanel gem. It tries to inject a script, too. I’m guessing that’s the problem. So I’ll just be disabling it for now.