diff options
author | zhufenggood <zhufenggood@gmail.com> | 2016-03-31 01:38:11 +0800 |
---|---|---|
committer | zhufenggood <zhufenggood@gmail.com> | 2016-03-31 01:38:11 +0800 |
commit | 47d89b18aef0125179386274c4445b90f66fa3c9 (patch) | |
tree | 0cbe6ddf809040d15ecd4a07b9c73d6c07c0dbc3 /lib/arel | |
parent | d72cf2972efc0d5cfe72bb7c009b2e76111b766e (diff) | |
download | rails-47d89b18aef0125179386274c4445b90f66fa3c9.tar.gz rails-47d89b18aef0125179386274c4445b90f66fa3c9.tar.bz2 rails-47d89b18aef0125179386274c4445b90f66fa3c9.zip |
Update to_sql.rb. Slightly performance improment.
Update to_sql.rb. Slightly performance improment.
Diffstat (limited to 'lib/arel')
-rw-r--r-- | lib/arel/visitors/to_sql.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/arel/visitors/to_sql.rb b/lib/arel/visitors/to_sql.rb index 80bea56ce6..cab0ab7eca 100644 --- a/lib/arel/visitors/to_sql.rb +++ b/lib/arel/visitors/to_sql.rb @@ -199,7 +199,7 @@ module Arel collector << quote(value, attr && column_for(attr)).to_s end unless i == len - collector << ', ' + collector << COMMA end } |