diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-12 19:22:19 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-09-12 19:22:19 -0700 |
commit | 5ea98130038ff5395239f3f6e46dc9276d3198ec (patch) | |
tree | 479df4a93436a6744bed63840c88c9cc43aab9bc /lib | |
parent | 6cd4e8f51ff231cafb2fdb6d71328f763c934b0b (diff) | |
download | rails-5ea98130038ff5395239f3f6e46dc9276d3198ec.tar.gz rails-5ea98130038ff5395239f3f6e46dc9276d3198ec.tar.bz2 rails-5ea98130038ff5395239f3f6e46dc9276d3198ec.zip |
OUTER JOIN should be LEFT OUTER JOIN
Diffstat (limited to 'lib')
-rw-r--r-- | lib/arel/visitors/join_sql.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/visitors/join_sql.rb b/lib/arel/visitors/join_sql.rb index c1e00ea8f0..ab3d10f99c 100644 --- a/lib/arel/visitors/join_sql.rb +++ b/lib/arel/visitors/join_sql.rb @@ -21,7 +21,7 @@ module Arel end def visit_Arel_Nodes_OuterJoin o - "OUTER JOIN #{visit o.right} #{visit o.constraint}" + "LEFT OUTER JOIN #{visit o.right} #{visit o.constraint}" end def visit_Arel_Nodes_InnerJoin o |