More on Cucumber
Category: Web Development > Ruby On Rails      Posted: 18 Jun 09

There is a lot more to Cucumber than I showed in an earlier episode. See how to refactor complex scenarios in this episode.

Factories not Fixtures
Category: Web Development > Ruby On Rails      Posted: 18 Jun 09

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.

RSpec Matchers & Macros
Category: Web Development > Ruby On Rails      Posted: 18 Jun 09

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

Webrat
Category: Web Development > Ruby On Rails      Posted: 18 Jun 09

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.

Beginning with Cucumber
Category: Web Development > Ruby On Rails      Posted: 05 Apr 09

Cucumber is a high-level testing framework. In this episode we will create a new Rails application from scratch using behavior driven development.

Polymorphic Association
Category: Web Development > Ruby On Rails      Posted: 05 Apr 09

Polymorphic associations can be perplexing. In this episode I show you how to set it up in Active Record and then move to the controller and view layer.

PDFs with Prawn
Category: Web Development > Ruby On Rails      Posted: 05 Apr 09

Prawn is an excellent Ruby library for generating PDF documents. Learn how to use it along with the Prawnto plugin in this episode.

Rails 2.3 Extras
Category: Web Development > Ruby On Rails      Posted: 14 Mar 09

This episode finishes up this series on Rails 2.3. Here you will learn about several smaller additions in 2.3

Rack Middleware
Category: Web Development > Ruby On Rails      Posted: 07 Mar 09

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

Rails Metal
Category: Web Development > Ruby On Rails      Posted: 07 Mar 09

Rails Metal is a way to bypass the standard Rails request process for a performance boost. In this episode you will learn how to shave off a few milliseconds using Metal.

Rails Engines
Category: Web Development > Ruby On Rails      Posted: 19 Feb 09

Rails 2.3 brings us much of the same functionality as the Rails Engines plugin. Learn how to embed one application into another in this episode.

App Templates in Rails 2.3
Category: Web Development > Ruby On Rails      Posted: 19 Feb 09

In Rails 2.3 you can provide a template when generating a new Rails application. See how in this episode