diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2016-03-30 14:41:28 -0300 |
---|---|---|
committer | Rafael França <rafaelmfranca@gmail.com> | 2016-03-30 14:41:28 -0300 |
commit | 7a5faf5fee02accd6d96963444ad5c386613b91f (patch) | |
tree | 0cbe6ddf809040d15ecd4a07b9c73d6c07c0dbc3 /lib | |
parent | d72cf2972efc0d5cfe72bb7c009b2e76111b766e (diff) | |
parent | 47d89b18aef0125179386274c4445b90f66fa3c9 (diff) | |
download | rails-7a5faf5fee02accd6d96963444ad5c386613b91f.tar.gz rails-7a5faf5fee02accd6d96963444ad5c386613b91f.tar.bz2 rails-7a5faf5fee02accd6d96963444ad5c386613b91f.zip |
Merge pull request #420 from zhufenggood/master
Update to_sql.rb. Slightly performance improment.
Diffstat (limited to 'lib')
-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 } |