RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: layout x
Formtastic Part 1
Episode #184Oct 19, 200978 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)
Tree Based Navigation
Episode #162May 18, 200970 comments

Tree Based Navigation

The acts_as_tree plugin provides many methods for handling a tree based association. In this episode I show how to build a navigation system with tabs, subpages, and breadcrumbs. (11 minutes)
App Templates in Rails 2.3
Episode #148Feb 09, 200950 comments

App Templates in Rails 2.3

In Rails 2.3 you can provide a template when generating a new Rails application. See how in this episode. (11 minutes)
5 View Tips
Episode #100Apr 07, 200880 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)
Looping Through Flash
Episode #18Apr 13, 200735 comments

Looping Through Flash

Displaying flash messages in the layout can be a pain at times. In this episode you will learn an easy way to display any kind of flash message by looping through the hash. (1 minute)
Complex Partials
Episode #99Mar 31, 200830 comments

Complex Partials

How do you handle partials which have differences depending on the action which is rendering them? Here's three suggestions for this problem. (8 minutes)