diff options
author | Alex Lin <ww2lin@gmail.com> | 2014-03-25 13:28:09 -0400 |
---|---|---|
committer | Alex Lin <ww2lin@gmail.com> | 2014-03-25 13:28:09 -0400 |
commit | a4a33fbb0a2375bfb13795148c17d460f3c5338d (patch) | |
tree | 490a14169f4bc99d2f66f13730081cabf8786877 /lib/arel/visitors/oracle.rb | |
parent | 78196509c3c6f2ee38225819efc5a88e8d95f8f7 (diff) | |
download | rails-a4a33fbb0a2375bfb13795148c17d460f3c5338d.tar.gz rails-a4a33fbb0a2375bfb13795148c17d460f3c5338d.tar.bz2 rails-a4a33fbb0a2375bfb13795148c17d460f3c5338d.zip |
remove the default parameter and updated comment
Diffstat (limited to 'lib/arel/visitors/oracle.rb')
-rw-r--r-- | lib/arel/visitors/oracle.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/visitors/oracle.rb b/lib/arel/visitors/oracle.rb index 0b5f19baa1..0cd0179931 100644 --- a/lib/arel/visitors/oracle.rb +++ b/lib/arel/visitors/oracle.rb @@ -89,7 +89,7 @@ module Arel # Previous version with join and split broke ORDER BY clause # if it contained functions with several arguments (separated by ','). # - # orders = o.orders.map { |x| visit x, a }.join(', ').split(',') + # orders = o.orders.map { |x| visit x }.join(', ').split(',') orders = o.orders.map do |x| string = visit x if string.include?(',') |