From 8144c72284df4d3206558d4fac72b7a47f1b8eee Mon Sep 17 00:00:00 2001 From: Denis Knauf Date: Fri, 16 Sep 2011 14:55:05 +0200 Subject: [PATCH] 0.0.2: lesser logging; IN-clauses fixed ("table"."table.id"-bug) --- VERSION | 2 +- lib/smql_to_ar/condition_types.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index 8acdd82..4e379d2 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.0.1 +0.0.2 diff --git a/lib/smql_to_ar/condition_types.rb b/lib/smql_to_ar/condition_types.rb index 68dde87..23ec136 100644 --- a/lib/smql_to_ar/condition_types.rb +++ b/lib/smql_to_ar/condition_types.rb @@ -177,7 +177,7 @@ class SmqlToAR builder.wobs (v = builder.vid).to_sym => @value @cols.each do |col| col.joins builder, table - builder.where self.class::Where % [ builder.column( table, col), v.to_s] + builder.where self.class::Where % [ builder.column( table+col.path, col.col), v.to_s] end self end