Closed miharekar closed 3 years ago
+1 on this issue. It prevents us from using it in production (in a subset of requests of course).
I've seen this too, on Rails 3.2. There's an open pull request that fixes this https://github.com/SamSaffron/MiniProfiler/pull/190
I use rails 4 and rack-mini-profiler. I have a sticky footer so this issue is apparent to me and probably not everybody else. It seems to me that MiniProfiler injects itself before
</body>
and above all the scripts and divs it also injects an empty line:Now this is not a big issue since I only use this gem in development but it sure is annoying to have whitespace under the sticky footer. I was losing my mind before I figured out what is causing it :smile: