From 8c9b12d4b5def4ca903f7f05cca5e1f58081792c Mon Sep 17 00:00:00 2001 From: Fire Demon Date: Sat, 25 Jul 2020 02:49:21 -0500 Subject: [Performance] Cache inlined_attachments association --- app/models/status.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/app/models/status.rb b/app/models/status.rb index 69d3a0ff8..e8ea2f70a 100644 --- a/app/models/status.rb +++ b/app/models/status.rb @@ -132,6 +132,7 @@ class Status < ApplicationRecord cache_associated :application, :media_attachments, + :inlined_attachments, :conversation, :status_stat, :tags, -- cgit