Use #any? instead of #exists? when checking media attachments (#7570)
If media_attachments are not loaded, SQL query is the same, but the #exists? method performs SQL query even if preloadedth-downstream
parent
ed4949c676
commit
f68736088b
Loading…
Reference in new issue