Rails setup process (from HTTP request to root router loaded)

Hi all

I’m interested in learning more about what happens within rails (or the web server) from when an HTTP request is made, to the point where its served. I know config/router.rb is involved somehow, and I imagine many other files.

Does anyone know of any writings online which address this issue? Or would someone be so kind to explain, in depth, the details? Links and comments very welcome!

Thanks!

You have all the code right there on your machine. What better
reference is there?