From 2516abc2770d6e5f7788def56b16c53200852ecc Mon Sep 17 00:00:00 2001 From: Christophe Robillard Date: Tue, 4 May 2021 11:51:35 +0200 Subject: [PATCH] activate rack_mini_profiler in dev and display query count --- config/initializers/rack_mini_profiler.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/initializers/rack_mini_profiler.rb b/config/initializers/rack_mini_profiler.rb index fc9414e45..a389dff41 100644 --- a/config/initializers/rack_mini_profiler.rb +++ b/config/initializers/rack_mini_profiler.rb @@ -1,3 +1,3 @@ if Rails.env.development? - Rack::MiniProfiler.config.authorization_mode = :whitelist + Rack::MiniProfiler.config.show_total_sql_count = true end