Rails Casts

Syndicate content
Every week you will be treated to a new Railscasts episode featuring tips and tricks with Ruby on Rails, the popular web development framework. These screencasts are short and focus on one technique so you can quickly move on to applying it to your own project. The topics are geared toward the intermediate Rails developer, but beginners and experts will get something out of it as well. This is the full resolution version, an iPod specific format is also available.
Updated: 45 min 34 sec ago

Episode 229: Polling for Changes

Mon, 08/30/2010 - 03:00
If you have frequently changing data on the server side, it's helpful to automatically display this to the user as well. Here I show how to accomplish this with polling in jQuery.

Episode 228: Sortable Table Columns

Mon, 08/23/2010 - 03:00
Here I walk you through adding the ability to sort table columns in ascending or descending order by clicking the header.

Episode 227: Upgrading to Rails 3 Part 3

Mon, 08/16/2010 - 03:00
Here we finish up this upgrade series by removing all deprecation warnings and fixing some problems in the view.

Episode 226: Upgrading to Rails 3 Part 2

Mon, 08/09/2010 - 03:00
Here we continue upgrading an application to Rails 3 by getting our specs up and running and going through the rails_upgrade plugin.

Episode 225: Upgrading to Rails 3 Part 1

Mon, 08/02/2010 - 03:00
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.

Episode 224: Controllers in Rails 3

Mon, 07/26/2010 - 03:00
Embedded flash notices, permanent cookies, and the details of respond_with are in this episode.

Episode 223: Charts

Mon, 07/19/2010 - 03:00
There are a number of libraries to help create graphs. Here I show how to integrate Highcharts into a Rails app.

Episode 222: Rack in Rails 3

Mon, 07/12/2010 - 03:00
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.

Episode 221: Subdomains in Rails 3

Mon, 07/05/2010 - 03:00
It is now possible to add subdomains to Rails 3 without the use of additional plugins. Learn how in this episode.

Episode 220: PDFKit

Mon, 06/28/2010 - 03:00
Generating PDFs in plain Ruby can be a lot of work. Instead, consider generating PDFs from HTML using PDFKit.

Episode 219: Active Model

Mon, 06/21/2010 - 03:00
In Rails 3 the non-database functionality of Active Record is extracted out into Active Model. This allows you to cleanly add validations and other features to tableless models.

Episode 218: Making Generators in Rails 3

Mon, 06/14/2010 - 03:00
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.

Episode 217: Multistep Forms

Mon, 06/07/2010 - 03:00
See how to create a multistep (wizard) form from scratch in this episode.

Episode 216: Generators in Rails 3

Mon, 05/31/2010 - 03:00
Generators in Rails 3 have been completely rewritten to be more modular. This allows you to customize any generator to fit your specific preferences.

Episode 215: Advanced Queries in Rails 3

Mon, 05/24/2010 - 03:00
Learn some advanced techniques regarding named scopes and get an introduction to Arel in this episode.

Episode 214: A/B Testing with A/Bingo

Mon, 05/17/2010 - 03:00
A/B Testing (or Split Testing) is a way to experiment with variations in an application to see the most effective option.