Ruby on Rails Hacking Guide
summary
Covers concrete internals: Rails has no C-extension and the distributed Rails gem is actually a meta-gem of seven gems (railties, activerecord, actionpack, actionview, etc). Walks the boot path: bin/rails → railties → Rails.application.initialize! → Rack → config.ru → routes → Journey → Dispatcher → controller.action('name') which ends up as a simple Ruby send call. Shows how initializers and Railtie config store procs, and gives a debugging tip puts caller to trace the call stack.
AI-written summary · about
chapters (4)
- 0:00Start
- 10:11How Rails server boots (1)
- 20:44How Rails server boots (2)
- 29:23Building middleware stack
related talks
34mCode Spelunking: teach yourself how Rails works
28mDissecting Rails
29mYes, You Can Work on Rails & any other Gem
26mDissecting Rails - a different approach to learning Rails
38mRails on Ruby: How Ruby Makes Rails Great
43mThe Magic of Rails
33mRails is Just Ruby
32mReading Rails: A Visual Walkthrough of the...
