RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: rails xFree Episodes x
Analyzing the Production Log
Episode #97Mar 17, 200836 comments

Analyzing the Production Log

In order to improve performance of your Rails application you need to find the bottlenecks. A great starting point is your production log. In this episode you will see how to use RAWK to analyze your log file and determine which controller actions take up the most processing time. (5 minutes)
How to Make a Generator
Episode #58Jul 16, 200739 comments

How to Make a Generator

Rails comes with many built-in generators, but what if you want to customize them or make your own? Rails gives you a great way to do this which you will learn in this episode. (11 minutes)
OpenID Authentication
Episode #68Aug 27, 200775 comments

OpenID Authentication

Ever wonder how to implement OpenID authentication in your Rails app? This episode will show you how to add it to a site with an existing authentication system. (11 minutes)
Endless Page
Episode #114Jun 16, 200860 comments

Endless Page

Ever wondered how some sites seem to have endless scrolling page with no pagination? Find out how easy it is to do this in Rails in this episode. (8 minutes)
Cron in Ruby
Episode #164Jun 01, 200970 comments

Cron in Ruby

Cron is great for handling recurring tasks, but it is an external dependency with a crazy syntax. In this episode I show you how to use Whenever to create cron jobs with Ruby. (8 minutes)
Tree Based Navigation
Episode #162May 18, 200970 comments

Tree Based Navigation

The acts_as_tree plugin provides many methods for handling a tree based association. In this episode I show how to build a navigation system with tabs, subpages, and breadcrumbs. (11 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)
will_paginate
Episode #51Jun 29, 2007101 comments

will_paginate

In edge rails (soon to be Rails 2.0), the built-in pagination has been moved into a plugin: classic_pagination. I recommend jumping over to the will_paginate plugin as shown in this episode. (6 minutes)
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)
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)