activate rack_mini_profiler in dev and display query count

This commit is contained in:
Christophe Robillard 2021-05-04 11:51:35 +02:00 committed by simon lehericey
parent 9f8121247f
commit 2516abc277

View file

@ -1,3 +1,3 @@
if Rails.env.development? if Rails.env.development?
Rack::MiniProfiler.config.authorization_mode = :whitelist Rack::MiniProfiler.config.show_total_sql_count = true
end end