diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-12-02 16:26:17 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-12-02 16:26:17 -0800 |
commit | e95aba8d1dfbd68b4bc2969f48e353b8de9bf323 (patch) | |
tree | 9d821903bacb60fe96158e02cc0294234200d665 /lib | |
parent | 9e05f7e01be3840b1a66bbda0292f97740f6947e (diff) | |
download | rails-e95aba8d1dfbd68b4bc2969f48e353b8de9bf323.tar.gz rails-e95aba8d1dfbd68b4bc2969f48e353b8de9bf323.tar.bz2 rails-e95aba8d1dfbd68b4bc2969f48e353b8de9bf323.zip |
renaming variable
Diffstat (limited to 'lib')
-rw-r--r-- | lib/arel/visitors/to_sql.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/arel/visitors/to_sql.rb b/lib/arel/visitors/to_sql.rb index abec5317ca..9694ed4cb8 100644 --- a/lib/arel/visitors/to_sql.rb +++ b/lib/arel/visitors/to_sql.rb @@ -67,8 +67,8 @@ module Arel end def visit_Arel_Nodes_Values o - "VALUES (#{o.expressions.zip(o.columns).map { |value, column| - quote(value, column && column.column) + "VALUES (#{o.expressions.zip(o.columns).map { |value, attr| + quote(value, attr && attr.column) }.join ', '})" end |