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

[Rails] Calls mini-profile-resources/includes.tmpl, but no div is displayed #120

Open aeldaly opened 11 years ago

aeldaly commented 11 years ago

Running in rails development environment. Not showing up.

I see it calling: http://localhost:3000/mini-profiler-resources/includes.tmpl?v=33d69ecf833daec8db07a9a0b6cf0bd3&_=1361324472050

And the response is:

But the page is does not have any information overlaid on top of it.

Rails 2.3.12, Ruby 1.9.3, mysql2, mongoid

Thanks, Ahmed

aeldaly commented 11 years ago

I even have this in the headers:

X-MiniProfiler-Ids ["a33lt42bgbphwtieupxm","5ycnj0dh12ta002pkstl","xifxwc5cppk8y63srdss","63lzyqh1cpmo90lqxqoo","8axv1rxex3ab48nytiby","rxbcb81qsvb7htyfi03y","p9uhpg07c3eo7oza5ter","md3yaifr4r32d5xg2la5","san0ol3i8q29jz82dxk7","6ilv3bow6vw3x6zvfeb7"]

SamSaffron commented 11 years ago

need more data, is the mini profiler snippet in the page, are there any js errors, what is the network tab in chrome showing.

scaryguy commented 11 years ago

Hi,

I'm using Rails 4 with Twitter Bootstrap. Mini Profiler divs are not shown.

I can see this code inside my html:

 <script async type="text/javascript" id="mini-profiler" src="/mini-profiler-resources/includes.js?v=8ceae04dd2abbc08ffe85a258d408292" data-version="8ceae04dd2abbc08ffe85a258d408292" data-path="/mini-profiler-resources/" data-current-id="qofh5a2blgh0dvnkbi23" data-ids="qofh5a2blgh0dvnkbi23,qwf45qcrrkiv2j8gp9l3,rlzo1ur370anrfrrgbps,9yukmf1gtgd1abtldodq,rsur8f8xdzqzqxl86zsi,1hzxd2tlw4o8yy81u478,678iblw4g5pezxys7tk8,4hzb8sf0jwufphi7yymt,3x3bg2oa826tiv9k42vp,1ti6vqqs77hjs26eryr9" data-position="left" data-trivial="false" data-children="false" data-max-traces="10" data-controls="false" data-authorized="true" data-toggle-shortcut="Alt+P" data-start-hidden="false"></script>

But I can't see profiler.

What could be the reason?