A small version of Rails for the book Rebuilding Rails by Noah Gibbs