diff options
author | Fire Demon <firedemon@creature.cafe> | 2020-07-25 02:49:21 -0500 |
---|---|---|
committer | Fire Demon <firedemon@creature.cafe> | 2020-08-30 05:45:15 -0500 |
commit | 8c9b12d4b5def4ca903f7f05cca5e1f58081792c (patch) | |
tree | cccb759c30177b6e9bfb8340f70e0b1d755ef516 | |
parent | 17ce7abdb87dc3a4bd174a293e64ef393d80e6fb (diff) |
[Performance] Cache inlined_attachments association
-rw-r--r-- | app/models/status.rb | 1 |
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, |