diff options
author | Uģis Ozols <ugis.ozolss@gmail.com> | 2011-12-26 21:44:50 +0200 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2011-12-29 23:39:06 +0530 |
commit | bea4f9aa3f8f2e2c4fd1502f013a08318fdc0804 (patch) | |
tree | 76ee28634f047def4557dc040ff750e3f3825872 /activerecord/lib | |
parent | f423bdc10b52e2f131f3596833d3a37f9773d820 (diff) | |
download | rails-bea4f9aa3f8f2e2c4fd1502f013a08318fdc0804.tar.gz rails-bea4f9aa3f8f2e2c4fd1502f013a08318fdc0804.tar.bz2 rails-bea4f9aa3f8f2e2c4fd1502f013a08318fdc0804.zip |
Remove unnecessary comma.
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/counter_cache.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/counter_cache.rb b/activerecord/lib/active_record/counter_cache.rb index 3c7defedac..031918712a 100644 --- a/activerecord/lib/active_record/counter_cache.rb +++ b/activerecord/lib/active_record/counter_cache.rb @@ -65,7 +65,7 @@ module ActiveRecord # Post.update_counters [10, 15], :comment_count => 1 # # Executes the following SQL: # # UPDATE posts - # # SET comment_count = COALESCE(comment_count, 0) + 1, + # # SET comment_count = COALESCE(comment_count, 0) + 1 # # WHERE id IN (10, 15) def update_counters(id, counters) updates = counters.map do |counter_name, value| |