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