RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: rails x
Analyzing the Production Log
Episode #97 – Mar 17, 2008 – 36 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 #58 – Jul 16, 2007 – 39 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 #68 – Aug 27, 2007 – 75 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 #114 – Jun 16, 2008 – 60 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 #164 – Jun 01, 2009 – 70 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 #162 – May 18, 2009 – 70 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 #156 – Apr 06, 2009 – 60 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 #51 – Jun 29, 2007 – 101 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 #158 – Apr 20, 2009 – 67 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 #159 – Apr 27, 2009 – 57 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)