I spent a week on Inertia Rails and SSR setup. I wrote this so you don't have to
tuyenhx.com