diff options
author | Vipul A M <vipulnsward@gmail.com> | 2014-06-01 22:19:11 +0530 |
---|---|---|
committer | Vipul A M <vipulnsward@gmail.com> | 2014-06-01 22:19:11 +0530 |
commit | e5772a1f56568547ca72ad053cb812cd22dbd466 (patch) | |
tree | 1c9ed1ff68b860126e7adcd88813ebcfdc41fe60 /lib | |
parent | 4ffc147fa63ae6c554e151a8407d3ea0ad0a717b (diff) | |
download | rails-e5772a1f56568547ca72ad053cb812cd22dbd466.tar.gz rails-e5772a1f56568547ca72ad053cb812cd22dbd466.tar.bz2 rails-e5772a1f56568547ca72ad053cb812cd22dbd466.zip |
Remove unused values variable
Diffstat (limited to 'lib')
-rw-r--r-- | lib/arel/visitors/to_sql.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/arel/visitors/to_sql.rb b/lib/arel/visitors/to_sql.rb index 28c4bd8bfa..a1dee43cab 100644 --- a/lib/arel/visitors/to_sql.rb +++ b/lib/arel/visitors/to_sql.rb @@ -103,9 +103,7 @@ module Arel collector << "UPDATE " collector = visit o.relation, collector - values = false unless o.values.empty? - values = true collector << " SET " collector = inject_join o.values, collector, ", " end |