It's not the same at all. I have a SvelteKit + FastAPI app that ironically I'm porting to Rails after rediscovering it.
Indeed SvelteKit is basically like NextJS for Svelte. It's just a thin server layer + routing which enables SSR, form submissions, and a few other goodies.
You don't get the kitchen sink like with Rails.
Just off the top of my head here's things you get with Rails that you don't with SvelteKit
- auth (new in Rails 8)
- background jobs
- email processing
- database connections and ORM
- caching layer
By the way this is coming as someone who is a fan of SvelteKit, it's just not objectively the same nor an evolution of rails at all.
One minor thing I would add is that of very recently, the new svc utility can set up auth, database stuff, i18n and some other things when creating a new svelte kit project.