Railscasts #8: Layouts and content_for

Posted in Development, Frameworks, Web Technologies, Podcasts on March 21, 2007


Railscasts #8: Layouts and content_for

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.

Watch Video Watch Video on External Site

Tags: Ruby, Ruby On Rails, Frameworks, HTML, Railscasts