From 727fcb7a5a786370e6a06e79db92d90c88c69813 Mon Sep 17 00:00:00 2001 From: Ryuta Kamizono Date: Sun, 17 Mar 2019 07:25:08 +0900 Subject: Fix warning: instance variable @optimizer_hints not initialized https://buildkite.com/rails/rails/builds/59622#924dff9d-85c2-4946-b264-a7e6ce01432c/122-130 --- activerecord/lib/arel/nodes/select_core.rb | 1 + 1 file changed, 1 insertion(+) (limited to 'activerecord/lib/arel') diff --git a/activerecord/lib/arel/nodes/select_core.rb b/activerecord/lib/arel/nodes/select_core.rb index 5814cae98a..6585f9b3ec 100644 --- a/activerecord/lib/arel/nodes/select_core.rb +++ b/activerecord/lib/arel/nodes/select_core.rb @@ -10,6 +10,7 @@ module Arel # :nodoc: all super() @source = JoinSource.new nil + @optimizer_hints = nil # https://ronsavage.github.io/SQL/sql-92.bnf.html#set%20quantifier @set_quantifier = nil @projections = [] -- cgit v1.2.3