Skip to content
Snippets Groups Projects
Commit 46494f46 authored by Robert Speicher's avatar Robert Speicher
Browse files

Merge branch 'rails5-verbose-query-logs' into 'master'

Rails5: Enable verbose query logs

See merge request gitlab-org/gitlab-ce!21231
parents fdda36b7 a0b92642
No related branches found
No related tags found
1 merge request!10495Merge Requests - Assignee
---
title: 'Rails5: Enable verbose query logs'
merge_request: 21231
author: Jasper Maes
type: other
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment