Skip to content

Commit

Permalink
Fix comment spelling error (#6521)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sensational-Code authored and cesswairimu committed Nov 2, 2019
1 parent 64bd591 commit 0eda8f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/user.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 0eda8f7

Please sign in to comment.