Yeah, depending on earlier results and building assocs without creating mess is tough. That's where we've struggled. There's no obvious solution, but a good next step would be to see how Oaken solves it right now, then layer abstractions where it makes sense. I'll put some time aside soon and play!
October 25, 2025 at 6:11 PM
Yeah, depending on earlier results and building assocs without creating mess is tough. That's where we've struggled. There's no obvious solution, but a good next step would be to see how Oaken solves it right now, then layer abstractions where it makes sense. I'll put some time aside soon and play!
if I still blogged I would blog about this. instead, I will continue the infinite loop of redesigning my website every time I think about posting something
October 25, 2025 at 9:01 AM
if I still blogged I would blog about this. instead, I will continue the infinite loop of redesigning my website every time I think about posting something
We're working with a 14 year old Rails app, and our new seeders were built incrementally so we didn't have the foresight to look into alternatives or make any major plans. I think we could probably get quite far just with build-only factories + insert_all..
October 24, 2025 at 1:42 PM
We're working with a 14 year old Rails app, and our new seeders were built incrementally so we didn't have the foresight to look into alternatives or make any major plans. I think we could probably get quite far just with build-only factories + insert_all..
Nothing super broad (though if I could go back I'd definitely have built some better optimised scaffolding). Lots of nuanced optimisations here and there. FactoryBot goes wild on N+1 so a lot of our improvements were found in leveraging `insert_all` and doing manual building. It got.. messy 😀
October 24, 2025 at 1:42 PM
Nothing super broad (though if I could go back I'd definitely have built some better optimised scaffolding). Lots of nuanced optimisations here and there. FactoryBot goes wild on N+1 so a lot of our improvements were found in leveraging `insert_all` and doing manual building. It got.. messy 😀
Yep we have similar requirements. We have a staging API endpoint that our dev and QA teams use to trigger massive data creation before scenario testing. It’s great, just a lot of work!
October 24, 2025 at 4:35 AM
Yep we have similar requirements. We have a staging API endpoint that our dev and QA teams use to trigger massive data creation before scenario testing. It’s great, just a lot of work!
FactoryBot but honestly I don’t love it. It gets messy quickly and performance is problematic if you don’t keep on top of it.
We have a Seeders namespace that creates millions of records of test data for dev bootstrapping. It works well but I’ve spent a lot of time optimising.
October 24, 2025 at 4:29 AM
FactoryBot but honestly I don’t love it. It gets messy quickly and performance is problematic if you don’t keep on top of it.
We have a Seeders namespace that creates millions of records of test data for dev bootstrapping. It works well but I’ve spent a lot of time optimising.
Jellyfin is bad at Audiobooks. Audiobookshelf however is *excellent* and did an impressive job of importing my library. Their iOS app is beta only though, and full 😔
Jellyfin is bad at Audiobooks. Audiobookshelf however is *excellent* and did an impressive job of importing my library. Their iOS app is beta only though, and full 😔