Concept Flow - Layouts and content_for
Request comes in
Controller action runs
Render view template
View calls content_for :section
Layout calls yield or yield(:section)
Final HTML sent to browser
Rails processes a request by running a controller, rendering a view that defines content blocks with content_for, then the layout inserts those blocks using yield or yield(:section).