diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-09-17 15:46:51 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-09-17 15:46:51 -0300 |
commit | 94a8b12943bcdd0c6ac2b820f1300ccd80de87b2 (patch) | |
tree | aee75d102e2d8b35e58b99b06f048219cf6b4fbc /lib/arel/visitors/to_sql.rb | |
parent | 46f94aca3f648cf9a350cbe829f8d155d9af8739 (diff) | |
parent | 112617766915b0068027b4ac809dad8129c88e81 (diff) | |
download | rails-94a8b12943bcdd0c6ac2b820f1300ccd80de87b2.tar.gz rails-94a8b12943bcdd0c6ac2b820f1300ccd80de87b2.tar.bz2 rails-94a8b12943bcdd0c6ac2b820f1300ccd80de87b2.zip |
Merge pull request #137 from dimko/visit_set
Added a visitor for Set objects
Diffstat (limited to 'lib/arel/visitors/to_sql.rb')
-rw-r--r-- | lib/arel/visitors/to_sql.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/arel/visitors/to_sql.rb b/lib/arel/visitors/to_sql.rb index ca09373b64..095aa5279a 100644 --- a/lib/arel/visitors/to_sql.rb +++ b/lib/arel/visitors/to_sql.rb @@ -752,6 +752,7 @@ module Arel def visit_Array o, collector inject_join o, collector, ", " end + alias :visit_Set :visit_Array def quote value, column = nil return value if Arel::Nodes::SqlLiteral === value |