diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2014-04-08 21:38:19 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2014-04-08 21:38:19 -0700 |
commit | 5d403e45858956e89d323e44ab7b413f80f5171f (patch) | |
tree | 305bca63fec46189fb8ef876cad2f5bb4b53bb8c /lib/arel/visitors/to_sql.rb | |
parent | bf791073972a179e6d79c8e2f89536734e315f54 (diff) | |
download | rails-5d403e45858956e89d323e44ab7b413f80f5171f.tar.gz rails-5d403e45858956e89d323e44ab7b413f80f5171f.tar.bz2 rails-5d403e45858956e89d323e44ab7b413f80f5171f.zip |
fixing BINARY tests
Diffstat (limited to 'lib/arel/visitors/to_sql.rb')
-rw-r--r-- | lib/arel/visitors/to_sql.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/arel/visitors/to_sql.rb b/lib/arel/visitors/to_sql.rb index 9ec926a66e..cba289c35c 100644 --- a/lib/arel/visitors/to_sql.rb +++ b/lib/arel/visitors/to_sql.rb @@ -274,8 +274,8 @@ module Arel collector end - def visit_Arel_Nodes_Bin o - visit o.expr + def visit_Arel_Nodes_Bin o, collector + visit o.expr, collector end def visit_Arel_Nodes_Distinct o, collector |