From 8acf531e508acf737584e46ecd95a03dad3752d2 Mon Sep 17 00:00:00 2001 From: Ayla Orucevic <53306868+xaylax@users.noreply.github.com> Date: Fri, 9 Oct 2020 23:33:41 -0400 Subject: [PATCH 1/2] Replace .length with .size --- app/views/admin/useremail.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/useremail.html.erb b/app/views/admin/useremail.html.erb index 009f5fc7a6..57c9f561bf 100644 --- a/app/views/admin/useremail.html.erb +++ b/app/views/admin/useremail.html.erb @@ -18,8 +18,8 @@
<% if @address %> -

Searched for <%= @address %>(<%= @users.length %>)

- <% if @users.length > 0 %> +

Searched for <%= @address %>(<%= @users.size %>)

+ <% if @users.size > 0 %>