about summary refs log tree commit diff
diff options
context:
space:
mode:
authorFire Demon <firedemon@creature.cafe>2020-07-25 02:49:21 -0500
committerFire Demon <firedemon@creature.cafe>2020-08-30 05:45:15 -0500
commit8c9b12d4b5def4ca903f7f05cca5e1f58081792c (patch)
treecccb759c30177b6e9bfb8340f70e0b1d755ef516
parent17ce7abdb87dc3a4bd174a293e64ef393d80e6fb (diff)
[Performance] Cache inlined_attachments association
-rw-r--r--app/models/status.rb1
1 files changed, 1 insertions, 0 deletions
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,