RailsCasts Pro episodes are now free!

Learn more or hide this

Unobtrusive Javascript
Episode #205Mar 15, 201084 comments

Unobtrusive Javascript

Keep JavaScript out of your HTML content with unobtrusive JavaScript. Here I show how Rails 3 works with this best practice. (13 minutes)
XSS Protection in Rails 3
Episode #204Mar 08, 201059 comments

XSS Protection in Rails 3

It is easy to be vulnerable to cross site scripting attacks in earlier versions of Rails, but Rails 3 solves this by automatically escaping unsafe input. (8 minutes)
Routing in Rails 3
Episode #203Mar 01, 201035 comments

Routing in Rails 3

Rails 3 sports a new routing interface. In this episode I show how to translate the old interface into the new one and show off a few new features. (13 minutes)
Active Record Queries in Rails 3
Episode #202Feb 22, 201071 comments

Active Record Queries in Rails 3

Rails 3 introduces a new query interface for performing finds in Active Record. See how it works along with the changes in named scopes. (10 minutes)
Bundler
Episode #201Feb 15, 201048 comments

Bundler

Bundler is the way to manage gem dependencies in Rails 3.0. Learn how to install gems and lock them down in this episode. (9 minutes)
Rails 3 Beta and RVM
Episode #200Feb 08, 2010114 comments

Rails 3 Beta and RVM

Get started with Rails 3.0 Beta and install Ruby 1.9.1 using RVM: Ruby Version Manager. Stay tuned to the end for a challenge on giving back to open source. (8 minutes)
Mobile Devices
Episode #199Feb 01, 201089 comments

Mobile Devices

Change the look and behavior of a Rails app on mobile devices. Also use jQTouch to build a native-looking interface. (13 minutes)
Edit Multiple Individually
Episode #198Jan 25, 201067 comments

Edit Multiple Individually

Use checkboxes to edit multiple records in one form, where each one has an individual set of form fields. (13 minutes)
Nested Model Form Part 2
Episode #197Jan 18, 2010215 comments

Nested Model Form Part 2

Add and remove nested model fields dynamically through JavaScript using either Prototype or jQuery. (12 minutes)
Nested Model Form Part 1
Episode #196Jan 11, 2010184 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)