RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: test xActive Record x
Site-Wide Announcements (revised)
Episode #103Nov 12, 201295 comments

Site-Wide Announcements (revised)

Here I show how to add an announcement message at the top of every page in the application and allow the user to permanently hide it. This is all done test-first and even includes testing the JavaScript behavior. (11 minutes)
Migrating to PostgreSQL
Episode #342Apr 17, 2012137 comments

Migrating to PostgreSQL

Postgres is a feature-packed relational database that every Rails developer should consider using. Here you will learn how to install it, add it to a new application, and transition from an existing SQLite app using the "taps" gem. (8 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)
Integrating Active Merchant
Episode #145Jan 19, 200991 comments

Integrating Active Merchant

In this episode I show how to add Active Merchant's functionality to a Rails application to make a fully-functional checkout process. (18 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)
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)