diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2014-06-01 21:18:38 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2014-06-01 21:18:38 -0300 |
commit | af6fe7fcd0650465616aedf1ec5cdb9d1b67203d (patch) | |
tree | a8d4aaef2eeba5debc9f507052278fe0179ea1d7 /lib | |
parent | 6a7e94ae5c29542aa3b3e33a7fc77a1546ec793f (diff) | |
parent | e5772a1f56568547ca72ad053cb812cd22dbd466 (diff) | |
download | rails-af6fe7fcd0650465616aedf1ec5cdb9d1b67203d.tar.gz rails-af6fe7fcd0650465616aedf1ec5cdb9d1b67203d.tar.bz2 rails-af6fe7fcd0650465616aedf1ec5cdb9d1b67203d.zip |
Merge pull request #283 from vipulnsward/rm-values
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 |