For a truly in-depth understanding of how Rails works, I built a "lite" version of it from scratch.