From dc68104536a6dc35e50ab01c77a5687bd86103ec Mon Sep 17 00:00:00 2001 From: Max Wofford Date: Thu, 13 Mar 2025 11:25:32 -0400 Subject: [PATCH] Fix pluralization of has/have --- app/views/static_pages/index.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/static_pages/index.html.erb b/app/views/static_pages/index.html.erb index 164eae5..d829348 100644 --- a/app/views/static_pages/index.html.erb +++ b/app/views/static_pages/index.html.erb @@ -6,7 +6,7 @@

<% unless current_user %>

- Hackatime is an open source tool for tracking your coding time.<% if @active_users_count.positive? %> <%= pluralize(@active_users_count, 'hack clubber') %> have logged time coding in the last hour.<% end %> + Hackatime is an open source tool for tracking your coding time.<% if @active_users_count.positive? %> <%= pluralize(@active_users_count, 'hack clubber has') %> logged time coding in the last hour.<% end %>

<% end %> <% if current_user %>