RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: resources xTools 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)
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)
Metric Fu
Episode #166Jun 15, 200943 comments

Metric Fu

Metric Fu is a compilation of several tools to help find areas of code that could be improved. In this episode I show you how to setup this tool on the railscasts.com source code. (9 minutes)
More on Cucumber
Episode #159Apr 27, 200957 comments

More on Cucumber

There is a lot more to Cucumber than I showed in an earlier episode. See how to refactor complex scenarios in this episode. (18 minutes)
Three Profiling Tools
Episode #161May 11, 200950 comments

Three Profiling Tools

Ever want to know what Rails is doing under the hood during a request? In this episode I show three different profiling tools: New Relic RPM, FiveRuns TuneUp, and Rack::Bug. (7 minutes)
Webrat
Episode #156Apr 06, 200960 comments

Webrat

If you prefer writing integration tests in ruby instead of Cucumber's plain english, consider interacting with Webrat directly as I show in this episode. (7 minutes)
Rack Middleware
Episode #151Mar 02, 200966 comments

Rack Middleware

Rack middleware is a way to filter a request and response coming into your application. In this episode I show how to modify the response body using middleware. (12 minutes)
PayPal Security
Episode #143Jan 05, 200972 comments

PayPal Security

This episode shows how to encrypt the variables passed to PayPal and verify the authenticity of the payment notifications (IPN). (11 minutes)
Active Merchant Basics
Episode #144Jan 12, 200969 comments

Active Merchant Basics

Active Merchant is a great library for handling credit card transactions. In this episode I will show you the basics of using it to communicate with PayPal's gateway. (10 minutes)
RSpec Matchers & Macros
Episode #157Apr 13, 200940 comments

RSpec Matchers & Macros

You can improve the readability and remove duplication in RSpec by adding matchers and macros. Learn how in this episode. (18 minutes)