Commit 7f462b63 authored by Jasper Maes's avatar Jasper Maes

Rails5: Enable verbose query logs

parent 79fdfec5
---
title: 'Rails5: Enable verbose query logs'
merge_request: 21231
author: Jasper Maes
type: fixed
......@@ -47,7 +47,9 @@ module ActiveRecord
end
end
unless Gitlab.rails5?
if Rails.version.start_with?("5.2")
raise "Remove this monkey patch: #{__FILE__}"
else
prepend(VerboseQueryLogs) unless Rails.env.production?
end
end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment