activate rack_mini_profiler in dev and display query count
This commit is contained in:
parent
9f8121247f
commit
2516abc277
1 changed files with 1 additions and 1 deletions
|
@ -1,3 +1,3 @@
|
|||
if Rails.env.development?
|
||||
Rack::MiniProfiler.config.authorization_mode = :whitelist
|
||||
Rack::MiniProfiler.config.show_total_sql_count = true
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue