RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: test xFree Episodes x
Factories not Fixtures
Episode #158Apr 20, 200967 comments

Factories not Fixtures

Fixtures are external dependencies which can make tests brittle and difficult to read. In this episode I show a better alternative using factories to generate the needed records. (12 minutes)
Metrics Metrics Metrics
Episode #252Feb 07, 201138 comments

Metrics Metrics Metrics

Metric Fu, Metrical, SimpleCov, Rails Best Practices, and more are covered in this episode on metrics. (7 minutes)
New Gem with Bundler
Episode #245Dec 20, 201037 comments

New Gem with Bundler

Creating new gems is easy with the `bundle gem` command. In this episode I will walk you through how this works. (7 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)
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)
Generators in Rails 3
Episode #216May 31, 201040 comments

Generators in Rails 3

Generators in Rails 3 have been completely rewritten to be more modular. This allows you to customize any generator to fit your specific preferences. (11 minutes)
Selenium
Episode #116Jun 30, 200864 comments

Selenium

Selenium is a great way to test your app automatically through a browser. See how it works in this episode. (9 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)
Populating a Database
Episode #126Sep 08, 200891 comments

Populating a Database

Have you ever wanted to fill up a database with a lot of test data? See how to do that in this episode using the populator and faker gems. (8 minutes)
Syntax Highlighting
Episode #207Mar 29, 201042 comments

Syntax Highlighting

Here I talk about three popular choices for syntax highlighting in Rails: CodeRay, Ultraviolet and Pygments. (9 minutes)