Permalink
Browse files

Remove unnecessary comma.

  • Loading branch information...
1 parent f423bdc commit bea4f9aa3f8f2e2c4fd1502f013a08318fdc0804 @ugisozols ugisozols committed with vijaydev Dec 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/counter_cache.rb
@@ -65,7 +65,7 @@ def reset_counters(id, *counters)
# 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|

0 comments on commit bea4f9a

Please sign in to comment.