# Ruby

**URL:** https://community.miniprofiler.com/c/ruby/2.md

[Latest](https://community.miniprofiler.com/latest.md) · [Categories](https://community.miniprofiler.com/categories.md)

---

## [Category definition for Ruby](https://community.miniprofiler.com/t/category-definition-for-ruby/166)

<div class="topic-metadata">

**Author:** [@sam](https://community.miniprofiler.com/u/sam)\
**Replies:** 0

</div>

Topics related to Ruby and rack-mini-profiler

---

## [Feature request: Show SQL stmt for flamegraphs + whether cached or not](https://community.miniprofiler.com/t/feature-request-show-sql-stmt-for-flamegraphs-whether-cached-or-not/659)

<div class="topic-metadata">

**Author:** [@vascoveiga](https://community.miniprofiler.com/u/vascoveiga)\
**Replies:** 0\
**Last updated:** [June 10, 2023, 11:07pm UTC](https://community.miniprofiler.com/t/feature-request-show-sql-stmt-for-flamegraphs-whether-cached-or-not/659 "2023-06-10T23:07:53Z")

</div>

Currently the flamegraph does not contain sql query info, and the regular trace does not capture it either. I saw there’s some reason related to timing of sql vs APIs, but would be really nice to have the sql stmts in t…

---

## [Feature request: GVL info for Ruby](https://community.miniprofiler.com/t/feature-request-gvl-info-for-ruby/658)

<div class="topic-metadata">

**Author:** [@vascoveiga](https://community.miniprofiler.com/u/vascoveiga)\
**Replies:** 0\
**Last updated:** [June 10, 2023, 10:42pm UTC](https://community.miniprofiler.com/t/feature-request-gvl-info-for-ruby/658 "2023-06-10T22:42:10Z")

</div>

We believe we are running into GVL lock (with some intensive CPU requests) but can’t really prove/disprove. If support for gvltools and a visual indication per request of how much time it was ready but waiting would be r…

---

## [Is it possible to enable sql redacting for any request?](https://community.miniprofiler.com/t/is-it-possible-to-enable-sql-redacting-for-any-request/657)

<div class="topic-metadata">

**Author:** [@vascoveiga](https://community.miniprofiler.com/u/vascoveiga)\
**Replies:** 0\
**Last updated:** [June 10, 2023, 10:39pm UTC](https://community.miniprofiler.com/t/is-it-possible-to-enable-sql-redacting-for-any-request/657 "2023-06-10T22:39:07Z")

</div>

For data privacy and compliance reasons, is it possible to redact any sql output via a flag? In theory similar to the snapshots\_redact\_sql\_queries for snapshots. I tried this setting but it had no effect on non-snapshot…

---

## [Can I collect / forward metrics to another service](https://community.miniprofiler.com/t/can-i-collect-forward-metrics-to-another-service/231)

<div class="topic-metadata">

**Author:** [@nathanpalmer](https://community.miniprofiler.com/u/nathanpalmer)\
**Replies:** 5\
**Last updated:** [January 4, 2022, 4:07pm UTC](https://community.miniprofiler.com/t/can-i-collect-forward-metrics-to-another-service/231 "2022-01-04T16:07:03Z")

</div>

---

## [Disabling Speed Badge](https://community.miniprofiler.com/t/disabling-speed-badge/612)

<div class="topic-metadata">

**Author:** [@methodblaster](https://community.miniprofiler.com/u/methodblaster)\
**Replies:** 1\
**Last updated:** [March 6, 2019, 8:10pm UTC](https://community.miniprofiler.com/t/disabling-speed-badge/612 "2019-03-06T20:10:40Z")

</div>

Sorry if this is a silly question. Is there a way to disable the speed badge, but maintain the storage of the results? I want to run the profiler in Production, but I don’t want our users to see that it’s running. Tha…

---

## [Parsing rack-mini-profiler results](https://community.miniprofiler.com/t/parsing-rack-mini-profiler-results/596)

<div class="topic-metadata">

**Author:** [@Samm](https://community.miniprofiler.com/u/Samm)\
**Replies:** 2\
**Last updated:** [July 13, 2018, 9:17pm UTC](https://community.miniprofiler.com/t/parsing-rack-mini-profiler-results/596 "2018-07-13T21:17:46Z")

</div>

I’m using redis provider to store the profiling results. When I Launch the rails app from the console, I’m able to see the results generated in the redis server. Below are the keys from the redis server: “session:table…

---

## [How to profile a non-html Rails 4?](https://community.miniprofiler.com/t/how-to-profile-a-non-html-rails-4/245)

<div class="topic-metadata">

**Author:** [@jlecour](https://community.miniprofiler.com/u/jlecour)\
**Replies:** 7\
**Last updated:** [May 8, 2018, 5:23pm UTC](https://community.miniprofiler.com/t/how-to-profile-a-non-html-rails-4/245 "2018-05-08T17:23:39Z")

</div>

---

## [Critical logs presenter via mini-rake-profiler](https://community.miniprofiler.com/t/critical-logs-presenter-via-mini-rake-profiler/586)

<div class="topic-metadata">

**Author:** [@skatkov](https://community.miniprofiler.com/u/skatkov)\
**Replies:** 0\
**Last updated:** [March 3, 2018, 8:30am UTC](https://community.miniprofiler.com/t/critical-logs-presenter-via-mini-rake-profiler/586 "2018-03-03T08:30:54Z")

</div>

Good day. I was looking to build a tool for manual testing on staging server. If you do not mind, I will explain the problem first and then solution I envision now. Problem It’s a great practice in testing to write sys…

---

## [Need help: Nothing is inserted into the DOM](https://community.miniprofiler.com/t/need-help-nothing-is-inserted-into-the-dom/552)

<div class="topic-metadata">

**Author:** [@fiedl](https://community.miniprofiler.com/u/fiedl)\
**Replies:** 4\
**Last updated:** [February 24, 2017, 5:14pm UTC](https://community.miniprofiler.com/t/need-help-nothing-is-inserted-into-the-dom/552 "2017-02-24T17:14:54Z")

</div>

Hi, thanks for this awesome project! I've successfully used it before but ran into issues with a specific rails app recently: My rails version is 4.2.7.1. The rack-mini-profiler version is 0.10.2. The rails environ…

---

## [How to deal with information overload in flamegraphs?](https://community.miniprofiler.com/t/how-to-deal-with-information-overload-in-flamegraphs/437)

<div class="topic-metadata">

**Author:** [@sam](https://community.miniprofiler.com/u/sam)\
**Replies:** 1\
**Last updated:** [March 10, 2016, 5:54pm UTC](https://community.miniprofiler.com/t/how-to-deal-with-information-overload-in-flamegraphs/437 "2016-03-10T17:54:45Z")

</div>

Andrew Grimm raised a question on Stack Overflow about how to deal with information overload in flamegraphs. http://stackoverflow.com/questions/35855922/dealing-with-information-overload-for-rack-mini-profiler-flamegrap…

---

## [Passenger/RackBaseURI issues with paths](https://community.miniprofiler.com/t/passenger-rackbaseuri-issues-with-paths/419)

<div class="topic-metadata">

**Author:** [@some\_person](https://community.miniprofiler.com/u/some_person)\
**Replies:** 2\
**Last updated:** [February 15, 2016, 8:09pm UTC](https://community.miniprofiler.com/t/passenger-rackbaseuri-issues-with-paths/419 "2016-02-15T20:09:00Z")

</div>

I'm working on a Rails app and trying to get rack-mini-profiler running in Production env. Things are partly working, but there's a few issues I'm having trouble sorting out. Our config's using Passenger 4.0.53 with Apa…

---

## [Can I trace the load time of a Rails partial?](https://community.miniprofiler.com/t/can-i-trace-the-load-time-of-a-rails-partial/412)

<div class="topic-metadata">

**Author:** [@dantappin](https://community.miniprofiler.com/u/dantappin)\
**Replies:** 1\
**Last updated:** [November 29, 2015, 10:53pm UTC](https://community.miniprofiler.com/t/can-i-trace-the-load-time-of-a-rails-partial/412 "2015-11-29T22:53:49Z")

</div>

I have a typical rails app with partials to load nav bars etc. My mini-profiler shows one of the partials taking way more time to render vs the rest. Can I use mini-profiler to dig into the rendering of these to see wh…

---

## [Mini profiler not visible](https://community.miniprofiler.com/t/mini-profiler-not-visible/392)

<div class="topic-metadata">

**Author:** [@RoyTheBoy](https://community.miniprofiler.com/u/RoyTheBoy)\
**Replies:** 0\
**Last updated:** [July 11, 2015, 2:42pm UTC](https://community.miniprofiler.com/t/mini-profiler-not-visible/392 "2015-07-11T14:42:28Z")

</div>

The profiler is not visible in my project and I can't discover why. I have tried Authorize\_request, I have tried pre\_authorize\_cb and start\_hidden is set to false. I can access the various "?pp=" URLs and I see files be…

---

## [Initial notes about the UI and API project](https://community.miniprofiler.com/t/initial-notes-about-the-ui-and-api-project/193)

<div class="topic-metadata">

**Author:** [@andypike](https://community.miniprofiler.com/u/andypike)\
**Replies:** 7\
**Last updated:** [January 6, 2015, 11:43pm UTC](https://community.miniprofiler.com/t/initial-notes-about-the-ui-and-api-project/193 "2015-01-06T23:43:19Z")

</div>

---

## [Ruby Bench Intros](https://community.miniprofiler.com/t/ruby-bench-intros/185)

<div class="topic-metadata">

**Author:** [@sam](https://community.miniprofiler.com/u/sam)\
**Replies:** 31\
**Last updated:** [January 6, 2015, 11:42pm UTC](https://community.miniprofiler.com/t/ruby-bench-intros/185 "2015-01-06T23:42:53Z")

</div>

---

## [IRC channel for informal/quick discussions](https://community.miniprofiler.com/t/irc-channel-for-informal-quick-discussions/207)

<div class="topic-metadata">

**Author:** [@dmathieu](https://community.miniprofiler.com/u/dmathieu)\
**Replies:** 3\
**Last updated:** [January 6, 2015, 11:40pm UTC](https://community.miniprofiler.com/t/irc-channel-for-informal-quick-discussions/207 "2015-01-06T23:40:32Z")

</div>

---

## [Runner Progress](https://community.miniprofiler.com/t/runner-progress/208)

<div class="topic-metadata">

**Author:** [@sam](https://community.miniprofiler.com/u/sam)\
**Replies:** 13\
**Last updated:** [January 6, 2015, 11:40pm UTC](https://community.miniprofiler.com/t/runner-progress/208 "2015-01-06T23:40:04Z")

</div>

---

## [Is ruby fast yet?](https://community.miniprofiler.com/t/is-ruby-fast-yet/197)

<div class="topic-metadata">

**Author:** [@mariovisic](https://community.miniprofiler.com/u/mariovisic)\
**Replies:** 4\
**Last updated:** [January 6, 2015, 11:39pm UTC](https://community.miniprofiler.com/t/is-ruby-fast-yet/197 "2015-01-06T23:39:06Z")

</div>

---

## [Custom Profiling in Pry](https://community.miniprofiler.com/t/custom-profiling-in-pry/329)

<div class="topic-metadata">

**Author:** [@coze](https://community.miniprofiler.com/u/coze)\
**Replies:** 0\
**Last updated:** [October 17, 2014, 6:12am UTC](https://community.miniprofiler.com/t/custom-profiling-in-pry/329 "2014-10-17T06:12:22Z")

</div>

Sorry guys I just watched the rails cast and my question is answered. You may remove this post.

---

## [Status, progress, cooperation](https://community.miniprofiler.com/t/status-progress-cooperation/337)

<div class="topic-metadata">

**Author:** [@richard\_ludvigh](https://community.miniprofiler.com/u/richard_ludvigh)\
**Replies:** 58\
**Last updated:** [January 6, 2015, 11:36pm UTC](https://community.miniprofiler.com/t/status-progress-cooperation/337 "2015-01-06T23:36:25Z")

</div>

Hello, i started communication with Sam on Github about cooperation on this project, you can read it there (https://github.com/ruby-bench/ruby-bench/issues/22#issuecomment-61726875). \<- You can also read about me here F…

---

## [Trace for a specific Gem](https://community.miniprofiler.com/t/trace-for-a-specific-gem/339)

<div class="topic-metadata">

**Author:** [@davidbiehl](https://community.miniprofiler.com/u/davidbiehl)\
**Replies:** 1\
**Last updated:** [November 11, 2014, 12:49am UTC](https://community.miniprofiler.com/t/trace-for-a-specific-gem/339 "2014-11-11T00:49:13Z")

</div>

Is there a way to enable backtracing for a specific gem? I don't want to see the full backtrace; I'd like to exclude any Rails specific lines in the backtrace. I do, however, have a specific gem that I'd like to include …

---

## [API/UI staging app on Heroku](https://community.miniprofiler.com/t/api-ui-staging-app-on-heroku/201)

<div class="topic-metadata">

**Author:** [@andypike](https://community.miniprofiler.com/u/andypike)\
**Replies:** 6\
**Last updated:** [January 6, 2015, 11:37pm UTC](https://community.miniprofiler.com/t/api-ui-staging-app-on-heroku/201 "2015-01-06T23:37:35Z")

</div>

---

## [Looking for a quick overview of what I'm looking at (Rails 4)](https://community.miniprofiler.com/t/looking-for-a-quick-overview-of-what-im-looking-at-rails-4/324)

<div class="topic-metadata">

**Author:** [@kylebragger](https://community.miniprofiler.com/u/kylebragger)\
**Replies:** 1\
**Last updated:** [November 4, 2014, 10:56pm UTC](https://community.miniprofiler.com/t/looking-for-a-quick-overview-of-what-im-looking-at-rails-4/324 "2014-11-04T22:56:34Z")

</div>

Howdy. I'm a bit confused at what I'm looking at, specifically that there seems to be a jump in execution time (the T+n number) but not the any long-running queries I'd expect to show up with it. Are there some things…

---

## [Conflict with Rack::Deflater](https://community.miniprofiler.com/t/conflict-with-rack-deflater/327)

<div class="topic-metadata">

**Author:** [@belison](https://community.miniprofiler.com/u/belison)\
**Replies:** 2\
**Last updated:** [October 16, 2014, 2:46pm UTC](https://community.miniprofiler.com/t/conflict-with-rack-deflater/327 "2014-10-16T14:46:38Z")

</div>

I just wanted to post out something I learned today. This is a link to my reply on stackoverflow: Stackoverflow The gist of it is that there is a conflict with Rack::Deflater because it manipulates the body in a way …

---

## [Profiler not appearing on Rails 3.2](https://community.miniprofiler.com/t/profiler-not-appearing-on-rails-3-2/311)

<div class="topic-metadata">

**Author:** [@aguynamedben](https://community.miniprofiler.com/u/aguynamedben)\
**Replies:** 0\
**Last updated:** [August 19, 2014, 2:53am UTC](https://community.miniprofiler.com/t/profiler-not-appearing-on-rails-3-2/311 "2014-08-19T02:53:19Z")

</div>

I'm trying to get rack-mini-profiler working in my project. I'm using: Ruby 2.0.0-p451 Rails 3.2.17 Pow 0.4.1, running locally for development rack-mini-profiler 0.9.2 In my Gemfile, the rack-mini-profiler line is …

---

## [How to detect if enabled or disabled?](https://community.miniprofiler.com/t/how-to-detect-if-enabled-or-disabled/292)

<div class="topic-metadata">

**Author:** [@Tintin81](https://community.miniprofiler.com/u/Tintin81)\
**Replies:** 0\
**Last updated:** [June 20, 2014, 10:59am UTC](https://community.miniprofiler.com/t/how-to-detect-if-enabled-or-disabled/292 "2014-06-20T10:59:09Z")

</div>

Hello, In my Rails 4 app I created these two helper functions: def link\_to\_switch\_off\_miniprofiler link\_to "OFF", "?pp=disable" end def link\_to\_switch\_on\_miniprofiler link\_to "ON", "?pp=enable" end Is there any…

---

## [Runner on Docker](https://community.miniprofiler.com/t/runner-on-docker/241)

<div class="topic-metadata">

**Author:** [@sam](https://community.miniprofiler.com/u/sam)\
**Replies:** 12\
**Last updated:** [January 6, 2015, 11:40pm UTC](https://community.miniprofiler.com/t/runner-on-docker/241 "2015-01-06T23:40:43Z")

</div>

---

## [Aborted request to mini-profiler-resources/results](https://community.miniprofiler.com/t/aborted-request-to-mini-profiler-resources-results/93)

<div class="topic-metadata">

**Author:** [@Gonzih](https://community.miniprofiler.com/u/Gonzih)\
**Replies:** 10\
**Last updated:** [December 3, 2013, 12:31pm UTC](https://community.miniprofiler.com/t/aborted-request-to-mini-profiler-resources-results/93 "2013-12-03T12:31:04Z")

</div>

---

## [Does rack-mini-profiler work with Rails 4?](https://community.miniprofiler.com/t/does-rack-mini-profiler-work-with-rails-4/26)

<div class="topic-metadata">

**Author:** [@Unknown49](https://community.miniprofiler.com/u/Unknown49)\
**Replies:** 1\
**Last updated:** [December 2, 2013, 11:22pm UTC](https://community.miniprofiler.com/t/does-rack-mini-profiler-work-with-rails-4/26 "2013-12-02T23:22:56Z")

</div>

[Next page](https://community.miniprofiler.com/c/ruby/2.md?page=1)
