SamSaffron / MiniProfiler

A simple but effective mini-profiler for ASP.NET MVC, ASP.NET and Ruby.
http://miniprofiler.com
1.05k stars 221 forks source link

Error when running Ruby version in app with Sunspot #185

Closed javidjamae closed 11 years ago

javidjamae commented 11 years ago

Our app uses Sunspot to connect to Solr to do searches. When we add MiniProfiler to our Gemfile and try to access our app, we immediately get the following error:

undefined methodinclude' for #`

Is there any way to work around this, or is MiniProfiler just not able to instrument the Sunspot code?

screen shot 2013-08-13 at 2 29 55 pm

javidjamae commented 11 years ago

Never mind, it looks like this was fixed recently here: https://github.com/SamSaffron/MiniProfiler/commit/6e6fd33dbf6ad5bdbbd7f5e43841144d54c27558

lencioni commented 11 years ago

This recently gave us some headaches at Causes. We ended up downgrading from 0.1.28 to 0.1.27 as a stopgap. Any idea when you plan to release a new version of the gem that includes this fix?