So, in ActiveRecord, trying to put a condition on the ON clause in eager_load, not on the whole query. Could drop to Arel, I suppose.
-
-
It actually turned out that building a lookup table with several group().count worked perfectly. Haha
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.