Pluck post id's from raking posts:missing_uploads

What would the rails console command be to stuff the post ids that are missing uploads in to an array to pluck a handful at a time to investigate? I’m trying to clean up the forum after a number of years of letting it run on autopilot.

The rake shows:

121 uploads are missing.
80 of 282421 posts are affected.