We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 79f0c4a + ed15755 commit 125c064Copy full SHA for 125c064
spec/spec_helper.rb
@@ -105,14 +105,7 @@ def wait
105
end
106
107
108
-# TODO: Address these warnings:
109
-# /path/to/spec/spec_helper.rb:112: warning: already initialized constant ActiveRecord::LogSubscriber::IGNORE_PAYLOAD_NAMES
110
-# /path/to/rails/activerecord/lib/active_record/log_subscriber.rb:5: warning: previous definition of IGNORE_PAYLOAD_NAMES was here
111
-module ActiveRecord
112
- class LogSubscriber
113
- IGNORE_PAYLOAD_NAMES = ["EXPLAIN"]
114
- end
115
-end
+ActiveRecord::LogSubscriber::IGNORE_PAYLOAD_NAMES.replace(["EXPLAIN"])
116
117
module SchemaSpecHelper
118
def schema_define(&block)
0 commit comments