mirror of
https://github.com/discourse/discourse.git
synced 2025-02-24 04:35:25 +08:00

We are using preload to load tags into topics. When later we try to use `order` or `pluck` it is causing N+1 Usually, topics don't have many tags so sorting using ruby should be reasonably performant.