diff --git a/app/views/home/subscriptions.html.erb b/app/views/home/subscriptions.html.erb
index da908dae04..82e0026c13 100644
--- a/app/views/home/subscriptions.html.erb
+++ b/app/views/home/subscriptions.html.erb
@@ -40,7 +40,7 @@
-
<%=raw translation('home.subscriptions.manage_subscriptions') %> (<%= current_user.subscriptions.length %>)
+
<%=raw translation('home.subscriptions.manage_subscriptions') %> (<%= current_user.subscriptions.size %>)
- <% if current_user.subscriptions.length == 0 %>
+ <% if current_user.subscriptions.size == 0 %>
You haven't subscribed to any topic yet
<% else %>