From f6e590f7411e02bfa48eaa81f1a7850708b52e14 Mon Sep 17 00:00:00 2001 From: KMY Date: Thu, 21 Dec 2023 10:05:07 +0900 Subject: [PATCH] Fix test --- app/models/concerns/account/interactions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/concerns/account/interactions.rb b/app/models/concerns/account/interactions.rb index b149982a1f..5e9aa474d3 100644 --- a/app/models/concerns/account/interactions.rb +++ b/app/models/concerns/account/interactions.rb @@ -216,7 +216,7 @@ module Account::Interactions return false unless local? scope = followers - scope = scope.where("follows.created_at < '#{since}'") if since.present? + scope = scope.where('follows.created_at < ?', since) if since.present? scope.exists?(domain: other_domain) end