aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2017-07-29 10:58:22 -0400
committerGitHub <noreply@github.com>2017-07-29 10:58:22 -0400
commit62dfe907f38d7845b8db2cc594217dc5e139dc14 (patch)
treec6d2eef07ed35cfdad5dd8d42c80f45ad13f9551
parentb9ca36f09d5e947a08e9b298a4a47634f6f08c9e (diff)
parentf2d66cddce16e6fb6a91085f01e79044dd5f7db7 (diff)
downloadrails-62dfe907f38d7845b8db2cc594217dc5e139dc14.tar.gz
rails-62dfe907f38d7845b8db2cc594217dc5e139dc14.tar.bz2
rails-62dfe907f38d7845b8db2cc594217dc5e139dc14.zip
Merge pull request #493 from gaurish/patch-1
Remove Unused variable - offset_bind
-rw-r--r--lib/arel/visitors/oracle.rb1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/arel/visitors/oracle.rb b/lib/arel/visitors/oracle.rb
index 95c37eba6b..d4749bbae3 100644
--- a/lib/arel/visitors/oracle.rb
+++ b/lib/arel/visitors/oracle.rb
@@ -29,7 +29,6 @@ module Arel
collector = super(o, collector)
if offset.expr.is_a? Nodes::BindParam
- offset_bind = nil
collector << ') raw_sql_ WHERE rownum <= ('
collector = visit offset.expr, collector
collector << ' + '