RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: rails xViews x
jQuery
Episode #136 – Nov 17, 2008 – 114 comments

jQuery

How do you use jQuery with Rails? In this episode I redo episode #43 using jQuery instead of Prototype/RJS. (9 minutes)
I18n
Episode #138 – Dec 01, 2008 – 70 comments

I18n

Internationalization is one of the biggest additions in Rails 2.2. See how the basics work in this episode. (7 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)
Complex Forms Part 3
Episode #75 – Oct 15, 2007 – 270 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)
Generating RSS Feeds
Episode #87 – Jan 06, 2008 – 65 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)
Model Name in URL
Episode #63 – Jul 27, 2007 – 60 comments

Model Name in URL

By default, Rails uses the model's id in the URL. What if you want to use the name of the model instead? You can change this behavior by overriding the to_param method in the model. Watch this episode for details. (6 minutes)
Custom Helper Modules
Episode #64 – Jul 30, 2007 – 47 comments

Custom Helper Modules

Rails designates one helper module per controller, but that shouldn't stop you from making custom helper modules to help structure the code. Learn how in this episode. (5 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)
Customize Field Error
Episode #39 – Jun 01, 2007 – 45 comments

Customize Field Error

When a validation error occurs, Rails helpfully wraps the field in a div tag so you can style it. But sometimes you don't want this behavior. In this episode you will see how to customize it. (3 minutes)
Formatting Time
Episode #31 – May 14, 2007 – 46 comments

Formatting Time

Learn how to use the trusty strftime method to format a time, and see how Rails allows you to save this format for later use. (5 minutes)