RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: layout xViews x
More on Twitter Bootstrap
Episode #329 – Feb 28, 2012 – 117 comments

More on Twitter Bootstrap

This episode continues on the Twitter Bootstrap project showing how to display flash messages, add form validations with SimpleForm, customize layout with variables, and switch to using Sass. (12 minutes)
Dynamic Layouts
Episode #125 – Sep 01, 2008 – 42 comments

Dynamic Layouts

Discover how to dynamically change the layout using content in the database. Check out this episode for details. (11 minutes)
Wizard Forms with Wicked
Episode #346 – May 03, 2012 – 84 comments

Wizard Forms with Wicked

Creating a wizard form can be tricky in Rails. Learn how Wicked can help by turning a controller into a series of multiple steps. (11 minutes)
All About Layouts
Episode #7 – Mar 19, 2007 – 39 comments

All About Layouts

Everything you wanted to know about layouts: global layouts, controller layouts, shared layouts, dynamic layouts and action layouts. Yes, there really are that many ways to specify a layout. (6 minutes)
Better Sass with Bourbon
Episode #330 – Mar 07, 2012 – 65 comments

Better Sass with Bourbon

If you are tired of the browser vendor prefixes in CSS, check out Bourbon. It provides Sass mixins and functions to make CSS more convenient. (7 minutes)
Compass & CSS Sprites
Episode #334 – Mar 21, 2012 – 57 comments

Compass & CSS Sprites

Compass improves the Sass experience by providing useful mixins, functions, and more. You will also learn how to make CSS sprites with it in this episode. (9 minutes)
Layouts and content_for
Episode #8 – Mar 21, 2007 – 45 comments

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. (3 minutes)
Nested Model Form Part 1
Episode #196 – Jan 11, 2010 – 184 comments

Nested Model Form Part 1

Handling multiple models in a single form is much easier with the accepts_nested_attributes_for method. See how to use this method to handle nested model fields. (11 minutes)
Formtastic Part 1
Episode #184 – Oct 19, 2009 – 78 comments

Formtastic Part 1

Formtastic is a concise way to generate form views. In this episode (part 1 of 2) I show how to generate both a simple form and a more complex one which is customized with options. (10 minutes)
5 View Tips
Episode #100 – Apr 07, 2008 – 80 comments

5 View Tips

Here's five quick tips to use in views. Be sure to catch the end of the episode where I reveal an exciting contest! (9 minutes)