Browse files

Remove unnecessary comma.

  • Loading branch information...
1 parent 54e522a commit acab767c9d042031320b1ed7a7e2faa653ab1bb9 @ugisozols ugisozols committed Dec 26, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/counter_cache.rb
View
2 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 acab767

Please sign in to comment.