EPISODE · Mar 21, 2007 · 3 MIN
#8 Layouts and content_for
from RailsCasts (Mobile) · host Ryan Bates
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.
What this episode covers
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.
NOW PLAYING
#8 Layouts and content_for
No transcript for this episode yet
Similar Episodes
Mar 2, 2026 ·27m
Mar 2, 2026 ·8m
Feb 25, 2026 ·14m
Jan 14, 2026 ·32m
Dec 16, 2025 ·43m