From de71dc2a16d7487093e89253ee4e0651ce00a7d2 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Sun, 25 Jul 2010 17:51:20 -0700 Subject: initializing variables --- lib/arel/algebra/relations/operations/where.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/arel/algebra/relations/operations/where.rb b/lib/arel/algebra/relations/operations/where.rb index 9d868ac18b..3c5df117f6 100644 --- a/lib/arel/algebra/relations/operations/where.rb +++ b/lib/arel/algebra/relations/operations/where.rb @@ -8,6 +8,7 @@ module Arel predicates = [yield(relation)] + predicates if block_given? @predicates = predicates.map { |p| p.bind(relation) } @relation = relation + @wheres = nil end def wheres -- cgit v1.2.3