What is Nostr?
Rob Carlson /
npub1dwd…mn8x
2025-01-16 16:29:50

Rob Carlson on Nostr: Okay Mastoton and Rails wizards, I need some advice. I was able to find and purge ...

Okay Mastoton and Rails wizards, I need some advice. I was able to find and purge idle accounts I was following using this:

Account.find_by(username: "vees", domain: nil).following.left_joins(:statuses)
.reorder(nil).group('accounts.id', 'accounts.username').having('COUNT(statuses.id) = 0').pluck('accounts.username','accounts.domain')

But now I want to find accounts that I interact with a LOT and add them to a core list of folks I want to see every post for. How could I write a quick Rails block to find folks I've boosted, favorited, and replied to regularly?

#Mastodon #Rails #MastoAdmin
Author Public Key
npub1dwd56hcum4998q0h0r92eryqmu3yfg6q0vdhgy3mjdwsz4kd0zrqh3mn8x