From 5f3ac2a0cb294868a30f746a41a1c98a63756c48 Mon Sep 17 00:00:00 2001 From: Robin Ward Date: Wed, 3 Dec 2014 12:21:43 -0500 Subject: [PATCH] Tweak suspect list to make sure any accounts listed are older than 1 day. --- lib/admin_user_index_query.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/admin_user_index_query.rb b/lib/admin_user_index_query.rb index 8af37f08611..052e8f06028 100644 --- a/lib/admin_user_index_query.rb +++ b/lib/admin_user_index_query.rb @@ -49,6 +49,7 @@ class AdminUserIndexQuery .references(:user_stats) .includes(:user_profile) .where("COALESCE(user_profiles.bio_raw, '') != ''") + .where('users.created_at <= ?', 1.day.ago) .where(where_conds.map {|c| "(#{c})"}.join(" OR ")) end