Skip to content

Commit

Permalink
Merge pull request #420 from zhufenggood/master
Browse files Browse the repository at this point in the history
Update to_sql.rb. Slightly performance improment.
  • Loading branch information
rafaelfranca committed Mar 30, 2016
2 parents d72cf29 + 47d89b1 commit 7a5faf5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/arel/visitors/to_sql.rb
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ def visit_Arel_Nodes_Values o, collector
collector << quote(value, attr && column_for(attr)).to_s
end
unless i == len
collector << ', '
collector << COMMA
end
}

Expand Down

0 comments on commit 7a5faf5

Please sign in to comment.