RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: Views x
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)
Fragment Caching
Episode #90Jan 27, 200842 comments

Fragment Caching

Sometimes you only want to cache a section of a page instead of the entire page. Fragment caching is the answer as shown in this episode. (6 minutes)
Dynamic Select Menus
Episode #88Jan 13, 2008197 comments

Dynamic Select Menus

See how to dynamically change a select menu based on another select menu using Javascript. In this episode everything is kept client side which leads to a more responsive user interface. (7 minutes)
Generating RSS Feeds
Episode #87Jan 06, 200865 comments

Generating RSS Feeds

See how to easily generate and link to an RSS feed using new features in Rails 2.0. Watch this episode or details. (6 minutes)
Simplify Views with Rails 2.0
Episode #80Nov 18, 200760 comments

Simplify Views with Rails 2.0

Rails 2.0 is almost here. One of the many features in this release is the smarter helper methods which can make your views much cleaner. Learn all about it in this Episode. (6 minutes)
Destroy Without JavaScript
Episode #77Oct 29, 200744 comments

Destroy Without JavaScript

If the user has JavaScript disabled, the "Destroy" link might not work properly. In this episode I will explore a number of ways to work around this issue. (7 minutes)
Complex Forms Part 3
Episode #75Oct 15, 2007270 comments

Complex Forms Part 3

In this third and final episode on complex forms I will show you how to edit a project and multiple tasks all in one form. This includes removing and adding tasks dynamically as well. See the show notes for updated code. (16 minutes)
Complex Forms Part 2
Episode #74Oct 08, 2007117 comments

Complex Forms Part 2

See how to use Javascript and RJS to add and remove form fields dynamically. This episode will build upon the previous episode allowing you to create any number of tasks in one form the same time a project is created. (8 minutes)
Complex Forms Part 1
Episode #73Oct 01, 2007171 comments

Complex Forms Part 1

Complex forms often lead to complex controllers, but that doesn't have to be the case. In this episode see how you can create multiple models through a single form while keeping the controller clean. (8 minutes)
Markaby in Helper
Episode #69Sep 03, 200744 comments

Markaby in Helper

Do you ever need to generate HTML code in a helper method? Placing it directly in Ruby strings is not very pretty. Learn a great way to generate HTML through Markaby in this episode. (6 minutes)