mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #38701 from OsamaSayegh/mp-in-rails
Include rack-mini-profiler gem by default
This commit is contained in:
commit
bb9c12b4f5
2 changed files with 10 additions and 0 deletions
|
@ -1,3 +1,11 @@
|
|||
* Add `rack-mini-profiler` gem to the default `Gemfile`.
|
||||
|
||||
`rack-mini-profiler` displays performance information such as SQL time and flame graphs.
|
||||
It's enabled by default in development environment, but can be enabled in production as well.
|
||||
See the gem [README](https://github.com/MiniProfiler/rack-mini-profiler/blob/master/README.md) for information on how to enable it in production.
|
||||
|
||||
*Osama Sayegh*
|
||||
|
||||
* `rails stats` will now count TypeScript files toward JavaScript stats.
|
||||
|
||||
*Joshua Cody*
|
||||
|
|
|
@ -51,6 +51,8 @@ group :development do
|
|||
<%- else -%>
|
||||
gem 'web-console', '>= 3.3.0'
|
||||
<%- end -%>
|
||||
# Display performance information such as SQL time and flame graphs for each request in your browser. Can be configured to work on production as well see: https://github.com/MiniProfiler/rack-mini-profiler/blob/master/README.md
|
||||
gem 'rack-mini-profiler', '~> 2.0.0'
|
||||
<%- end -%>
|
||||
<% if depend_on_listen? -%>
|
||||
gem 'listen', '~> 3.2'
|
||||
|
|
Loading…
Reference in a new issue