diff options
Diffstat (limited to 'railties')
-rw-r--r-- | railties/CHANGELOG.md | 5 | ||||
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/Gemfile | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/railties/CHANGELOG.md b/railties/CHANGELOG.md index 45e1f5f3ea..6a41f6221a 100644 --- a/railties/CHANGELOG.md +++ b/railties/CHANGELOG.md @@ -1,3 +1,8 @@ +* Include `rack-mini-profiler` gem by default. This gem allows for easy + visability and diagnosis of performance related issues. + + *Richard Schneeman* + * Support `-` as a platform-agnostic way to run a script from stdin with `rails runner` diff --git a/railties/lib/rails/generators/rails/app/templates/Gemfile b/railties/lib/rails/generators/rails/app/templates/Gemfile index f49b503f85..f69b570db8 100644 --- a/railties/lib/rails/generators/rails/app/templates/Gemfile +++ b/railties/lib/rails/generators/rails/app/templates/Gemfile @@ -46,6 +46,8 @@ group :development do <%- else -%> gem 'web-console', '>= 3.3.0' <%- end -%> + # Display performance metrics on each page load. To configure for production read: https://github.com/MiniProfiler/rack-mini-profiler + gem 'rack-mini-profiler', '~> 0.10.5' <%- end -%> <% if depend_on_listen? -%> gem 'listen', '>= 3.0.5', '< 3.2' |