RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: test xFree Episodes x
Refactoring User Name Part 2
Episode #11Mar 28, 200737 comments

Refactoring User Name Part 2

Testing and refactoring go hand in hand. Refactoring is all about improving code without changing its behavior. Testing is all about making sure you don't change the behavior while you are improving the code. (6 minutes)
Adding an Environment
Episode #72Sep 24, 200726 comments

Adding an Environment

Rails comes with three environments: development, test, and production. But, you aren't restricted to just these. You can add your own! See how in this episode. (3 minutes)
Contributing to Rails with Git
Episode #113Jun 09, 200836 comments

Contributing to Rails with Git

If you want Rails to behave a certain way, try changing it and submitting a patch. This episode will show how to do exactly this using Git. (11 minutes)
Gem Dependencies
Episode #110May 23, 200834 comments

Gem Dependencies

In Rails 2.1 we now have the ability to set gem dependencies. Now it's easier than ever to specify which ruby gems our rails app relies on. (6 minutes)
Request Profiling
Episode #98Mar 24, 200835 comments

Request Profiling

You can use profiling to determine where the performance bottlenecks are in specific Rails actions. Watch this episode for details. (10 minutes)
YAML Configuration File
Episode #85Dec 23, 200750 comments

YAML Configuration File

Application configuration shouldn't be spread throughout your code base. Instead a much better place to put it is an external YAML file. See how to do that in this episode. (7 minutes)
Sending Email
Episode #61Jul 23, 200767 comments

Sending Email

This is a brief guide to sending email in Rails. See how to configure the environment, generate a mailer, create a template, and deliver the mail. (7 minutes)
Hacking ActiveRecord
Episode #62Jul 25, 200746 comments

Hacking ActiveRecord

Have you ever wanted to temporarily disable all validations? Well, ActiveRecord doesn't support this, but that doesn't mean we can't add it. This episode will show you how to open up an existing class and change its behavior. (11 minutes)