From d8de55cee197d887b478b134ec692776613bf998 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Mon, 20 Sep 2010 13:29:12 -0700 Subject: adding crazy code to fix the last two AR tests --- lib/arel/nodes/in.rb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'lib/arel/nodes/in.rb') diff --git a/lib/arel/nodes/in.rb b/lib/arel/nodes/in.rb index 6ccf37a053..13163af11e 100644 --- a/lib/arel/nodes/in.rb +++ b/lib/arel/nodes/in.rb @@ -1,6 +1,10 @@ module Arel module Nodes class In < Equality + def initialize left, right + raise if Arel::SelectManager === right + super + end end end end -- cgit v1.2.3