# Conflict with Rack::Deflater

**URL:** <https://community.miniprofiler.com/t/conflict-with-rack-deflater/327>\
**Category:** Ruby\
**Created:** [October 14, 2014, 8:55pm UTC](https://community.miniprofiler.com/t/conflict-with-rack-deflater/327 "2014-10-14T20:55:08Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![belison](https://sea2.discourse-cdn.com/flex016/user_avatar/community.miniprofiler.com/belison/32/820_2.png) [@belison](https://community.miniprofiler.com/u/belison)\
**Post date:** [October 14, 2014, 8:55pm UTC](https://community.miniprofiler.com/t/conflict-with-rack-deflater/327/1 "2014-10-14T20:55:08Z")

</div>

I just wanted to post out something I learned today. This is a link to my reply on stackoverflow:

[Stackoverflow](http://stackoverflow.com/questions/17025563/how-to-get-mini-profiler-to-start-in-rails/26369990#26369990)

The gist of it is that there is a conflict with Rack::Deflater because it manipulates the body in a way that the profiler is not able to insert itself. I hope that helps some of those that have been struggling to see it work on rails.

---

<div class="post-metadata">

**Author:** ![Unknown17](https://sea2.discourse-cdn.com/flex016/user_avatar/community.miniprofiler.com/unknown17/32/1016_2.png) [@Unknown17](https://community.miniprofiler.com/u/Unknown17)\
**Post date:** [October 16, 2014, 5:31am UTC](https://community.miniprofiler.com/t/conflict-with-rack-deflater/327/2 "2014-10-16T05:31:29Z")

</div>

This is actually covered in the Readme (I added it a few months ago 🙂 )

> **[MiniProfiler/rack-mini-profiler](https://github.com/MiniProfiler/rack-mini-profiler#custom-middleware-ordering-required-if-using-rackdeflate-with-rails)**
>
> Profiler for your development and production Ruby rack apps. - MiniProfiler/rack-mini-profiler

---

<div class="post-metadata">

**Author:** ![belison](https://sea2.discourse-cdn.com/flex016/user_avatar/community.miniprofiler.com/belison/32/820_2.png) [@belison](https://community.miniprofiler.com/u/belison)\
**Post date:** [October 16, 2014, 2:46pm UTC](https://community.miniprofiler.com/t/conflict-with-rack-deflater/327/3 "2014-10-16T14:46:38Z")

</div>

Shoot! I am not sure how I missed this, thanks!
