RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: rails 3 x
Upgrading to Rails 3 Part 2
Episode #226Aug 09, 201048 comments

Upgrading to Rails 3 Part 2

Here we continue upgrading an application to Rails 3 by getting our specs up and running and going through the rails_upgrade plugin. (12 minutes)
Upgrading to Rails 3 Part 1
Episode #225Aug 02, 201061 comments

Upgrading to Rails 3 Part 1

In the first part of this series on upgrading a Rails 2 application to Rails 3, we'll start off by setting up Rails 3.0 Release Candidate in a clean environment. The rails_upgrade plugin will then help us determine what needs upgrading. (11 minutes)
Rack in Rails 3
Episode #222Jul 12, 201026 comments

Rack in Rails 3

The router in Rails 3 is fully compatible with Rack. Learn how to embed Sinatra into an app, handle redirects, and improve on Rails Metal. (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)
Making Generators in Rails 3
Episode #218Jun 14, 201040 comments

Making Generators in Rails 3

Generators in Rails 3 have been rewritten to use Thor which means the code used to create a generator is quite different. Here you will learn the new way to make generators in Rails 3. (10 minutes)
Upgrading to Rails 3 Part 3
Episode #227Aug 16, 201034 comments

Upgrading to Rails 3 Part 3

Here we finish up this upgrade series by removing all deprecation warnings and fixing some problems in the view. (9 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)
Rails Metal (revised)
Episode #150Jan 27, 201245 comments

Rails Metal (revised)

Rails metal may have been removed in Rails 3, but it is possible to bypass the entire Rails stack through middleware as shown in this episode. (6 minutes)
Subdomains in Rails 3
Episode #221Jul 05, 201083 comments

Subdomains in Rails 3

It is now possible to add subdomains to Rails 3 without the use of additional plugins. Learn how in this episode. (13 minutes)
Validations in Rails 3
Episode #211Apr 26, 201059 comments

Validations in Rails 3

Rails 3 offers several new additions to validations. Here learn how to make a custom error_messages partial, reflect on validations, and clean up complex validations in a model. (9 minutes)