From 0eda8f74606903b599f605bf63367263d89d5d08 Mon Sep 17 00:00:00 2001 From: Sensational Code Date: Sat, 2 Nov 2019 05:48:05 -0700 Subject: [PATCH] Fix comment spelling error (#6521) --- app/models/user.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/user.rb b/app/models/user.rb index c4d354298f..ca486019ca 100644 --- a/app/models/user.rb +++ b/app/models/user.rb @@ -396,7 +396,7 @@ def find_by_username_case_insensitive(username) User.where('lower(username) = ?', username.downcase).first end - # all uses who've posted a node, comment, or answer in the given period + # all users who've posted a node, comment, or answer in the given period def contributor_count_for(start_time, end_time) notes = Node.where(type: 'note', status: 1, created: start_time.to_i..end_time.to_i).pluck(:uid) answers = Answer.where(created_at: start_time..end_time).pluck(:uid)