diff options
-rw-r--r-- | .travis.yml | 2 | ||||
-rw-r--r-- | lib/arel/visitors/oracle.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml index 5da682028c..9a11ead3ec 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ rvm: - jruby - 1.9.3 - 2.0.0 - - 2.1.0 + - 2.1.1 matrix: allow_failures: - rvm: rbx diff --git a/lib/arel/visitors/oracle.rb b/lib/arel/visitors/oracle.rb index 2cdbafadad..699b52fe9a 100644 --- a/lib/arel/visitors/oracle.rb +++ b/lib/arel/visitors/oracle.rb @@ -74,7 +74,7 @@ module Arel collector << " )" end - def visit_Arel_Nodes_UpdateStatement o + def visit_Arel_Nodes_UpdateStatement o, collector # Oracle does not allow ORDER BY/LIMIT in UPDATEs. if o.orders.any? && o.limit.nil? # However, there is no harm in silently eating the ORDER BY clause if no LIMIT has been provided, |