From 58291abcb330ed63442f9d9ceef7a52c679abb90 Mon Sep 17 00:00:00 2001 From: KMY Date: Tue, 9 Apr 2024 10:56:16 +0900 Subject: [PATCH] =?UTF-8?q?Fix:=20=E3=83=9B=E3=83=AF=E3=82=A4=E3=83=88?= =?UTF-8?q?=E3=83=AA=E3=82=B9=E3=83=88=E3=81=AE=E3=83=89=E3=83=A1=E3=82=A4?= =?UTF-8?q?=E3=83=B3=E3=83=AA=E3=82=B9=E3=83=88=E3=81=8C=E4=B8=A6=E3=81=B9?= =?UTF-8?q?=E6=9B=BF=E3=81=88=E3=81=95=E3=82=8C=E3=81=A6=E3=81=84=E3=81=AA?= =?UTF-8?q?=E3=81=84=E5=95=8F=E9=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/models/specified_domain.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/specified_domain.rb b/app/models/specified_domain.rb index d7e2ef115ef91a..0b4aacb9af2414 100644 --- a/app/models/specified_domain.rb +++ b/app/models/specified_domain.rb @@ -21,7 +21,7 @@ class SpecifiedDomain < ApplicationRecord class << self def white_list_domain_caches - Rails.cache.fetch('specified_domains:white_list') { white_list_domains.to_a } + Rails.cache.fetch('specified_domains:white_list') { white_list_domains.order(:domain).to_a } end def save_from_hashes(rows, type, caches)