Learn Ruby on Rails - Layouts and content_for

Views: 906

Helpful

Not Helpful

Helpful (1+) / Not Helpful (0-)


Video Comments

Post a Comment

Advertisement

Video Information

ronnieq

ronnieq

Description: 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.

Uploaded On: 09/30/2010

Tags: Ruby   Rails   layout   template  

Embed (Post this video to your website or blog)