I’ve written an importer that pulls in a database of email addresses and Bios and sticks the bio into the About (aka bio_raw) field. It works fine, but the bios don’t show up because they aren’t getting baked. Inquiring minds want to know:
Will a posts:rebake rebake them?
Is there a way to rebake just the bios (and not 230K posts)?
Is there a way to trigger the rebake in the importer script?
If I’m patient will sidekiq notice?
Is there a question I should have asked other than these?
update_column updates the column without calling profile.save, which makes me wonder about profile.save, but there are lots of things I don’t understand yet.
Thanks for RTFMing the code for me. I still have trouble finding the code, but I’m getting there.
I think I see why to postpone the save. This script imports only bios, though, so I think in this case it’s probably fine to just stick it in this loop.