Skip to content
Snippets Groups Projects
Verified Commit 93cdf8a3 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Enable SQL queries in mini-profiler

parent a355ea6f
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -167,7 +167,7 @@ group :development do
gem "annotate", "~> 2.6.0.beta2"
gem "letter_opener"
gem 'quiet_assets', '~> 1.0.1'
gem 'rack-mini-profiler'
gem 'rack-mini-profiler', require: false
 
# Better errors handler
gem 'better_errors'
Loading
Loading
# If Mini Profiler is included via gem
if Rails.env == 'development'
require 'rack-mini-profiler'
# initialization is skipped so trigger it
Rack::MiniProfilerRails.initialize!(Rails.application)
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment