DEV: update mini profiler
This provides us with instrumentation missing after rails upgrade Latest version of rails uses exec_params internally which is no longer routed to intercepted methods in mini profiler 1.0.0
This commit is contained in:
parent
955cdad649
commit
a34bc92e1a
|
@ -287,7 +287,7 @@ GEM
|
|||
puma (3.11.4)
|
||||
r2 (0.2.7)
|
||||
rack (2.0.6)
|
||||
rack-mini-profiler (1.0.0)
|
||||
rack-mini-profiler (1.0.1)
|
||||
rack (>= 1.2.0)
|
||||
rack-openid (1.3.1)
|
||||
rack (>= 1.1.0)
|
||||
|
|
|
@ -13,8 +13,7 @@ if Rails.configuration.respond_to?(:load_mini_profiler) && Rails.configuration.l
|
|||
Rack::MiniProfilerRails.initialize!(Rails.application)
|
||||
end
|
||||
|
||||
if defined?(Rack::MiniProfiler)
|
||||
|
||||
if defined?(Rack::MiniProfiler) && defined?(Rack::MiniProfiler::Config)
|
||||
# note, we may want to add some extra security here that disables mini profiler in a multi hosted env unless user global admin
|
||||
# raw_connection means results are not namespaced
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue