lesser debug

subqueries
Denis Knauf 2011-10-06 15:28:40 +02:00
parent 11466211ac
commit d5aa6052ec
1 changed files with 1 additions and 1 deletions

View File

@ -248,7 +248,7 @@ class SmqlToAR
col.joins.each {|j, m| builder.joins table+j, m }
builder.joins t, model
b2 = 1 == sub.length ? builder : Or.new( builder)
sub.each {|i| i.collect( &it.build( And.new( b2), t)); p 'or' => b2 }
sub.each {|i| i.collect( &it.build( And.new( b2), t)) }
end
self
end