diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-04-08 21:14:00 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-04-08 21:14:00 -0700 |
commit | 136025996196a3c279d9d37a76ce69eb9cc7937b (patch) | |
tree | e8643ba2d9341ed35565cb9bdfe3cf0324873bcd /lib/arel/visitors/to_sql.rb | |
parent | d3d7c218cb577919ce177f8155dc2f34d994f3cb (diff) | |
download | rails-136025996196a3c279d9d37a76ce69eb9cc7937b.tar.gz rails-136025996196a3c279d9d37a76ce69eb9cc7937b.tar.bz2 rails-136025996196a3c279d9d37a76ce69eb9cc7937b.zip |
informix is working
Diffstat (limited to 'lib/arel/visitors/to_sql.rb')
-rw-r--r-- | lib/arel/visitors/to_sql.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/arel/visitors/to_sql.rb b/lib/arel/visitors/to_sql.rb index 8e254d504b..ee72d864e1 100644 --- a/lib/arel/visitors/to_sql.rb +++ b/lib/arel/visitors/to_sql.rb @@ -107,8 +107,7 @@ module Arel end unless wheres.empty? - collector << " " if values - collector << "WHERE " + collector << " WHERE " collector = inject_join wheres, collector, " AND " end |