lib/fresh_connection/railtie.rb in fresh_connection-2.1.1 vs lib/fresh_connection/railtie.rb in fresh_connection-2.1.2
- old
+ new
@@ -8,10 +8,10 @@
ActiveRecord::ConnectionAdapters::ConnectionManagement,
FreshConnection::Rack::ConnectionManagement
)
else
app.config.app_middleware.insert_before(
- ActionDispatch::Reloader,
+ ActionDispatch::Executor,
FreshConnection::Rack::ConnectionManagement
)
end
end
end