RailsCasts
RailsCasts
Ryan Bates
Show notes
If you want to change something in the layout on a per-template basis, content_for is your answer! This allows templates to specify view code that can be placed anywhere in a layout.