From 4d12e45d3b3dfdc87be130276c4ec737e5f2a96b Mon Sep 17 00:00:00 2001 From: multiple creatures Date: Fri, 26 Apr 2019 12:56:12 -0500 Subject: Account manager: consider dormant to be 3 months instead of one. --- app/controllers/relationships_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers') diff --git a/app/controllers/relationships_controller.rb b/app/controllers/relationships_controller.rb index c87a0cf13..b3af15b4a 100644 --- a/app/controllers/relationships_controller.rb +++ b/app/controllers/relationships_controller.rb @@ -62,7 +62,7 @@ class RelationshipsController < ApplicationController end def dormant_account_scope - AccountStat.where(last_status_at: nil).or(AccountStat.where(AccountStat.arel_table[:last_status_at].lt(1.month.ago))) + AccountStat.where(last_status_at: nil).or(AccountStat.where(AccountStat.arel_table[:last_status_at].lt(3.months.ago))) end def by_domain_scope -- cgit