RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: rails x
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)
Declarative Authorization
Episode #188Nov 16, 2009114 comments

Declarative Authorization

Declarative authorization provides an advanced and powerful solution for role based authorization. (15 minutes)
MongoDB and MongoMapper
Episode #194Dec 28, 200976 comments

MongoDB and MongoMapper

MongoDB is a document based database engine. Learn how to access it through MongoMapper in this episode. (13 minutes)
Making a Gem
Episode #135Nov 10, 200846 comments

Making a Gem

Want to create a Ruby Gem instead of a Rails plugin? In this episode I will walk you through creating a gem to extend Rails. (9 minutes)
Refactoring & Dynamic Delegator
Episode #212May 03, 201050 comments

Refactoring & Dynamic Delegator

Learn how to refactor a set of conditional Active Record queries using a Dynamic Delegator. (7 minutes)
Passenger in Development
Episode #122Aug 11, 2008107 comments

Passenger in Development

Tired of juggling multiple Rails apps around with script/server? See how to set up Passenger in development so each one has its own local domain name. (7 minutes)
Tracking Attribute Changes
Episode #109May 21, 200847 comments

Tracking Attribute Changes

Rails 2.1 keeps track of the changes you make to a model's attributes. It also allows you to see what the previous value was. But watch out for the gotcha! See this episode for details. (7 minutes)
named_scope
Episode #108May 19, 200869 comments

named_scope

The named_scope method in Rails 2.1 makes performing finds on models very elegant and convenient. See how in this episode. (11 minutes)
Pickle with Cucumber
Episode #186Nov 02, 200967 comments

Pickle with Cucumber

Pickle adds many convenient Cucumber steps for generating models. Also learn about table diffs in this episode. (16 minutes)
Formtastic Part 1
Episode #184Oct 19, 200978 comments

Formtastic Part 1

Formtastic is a concise way to generate form views. In this episode (part 1 of 2) I show how to generate both a simple form and a more complex one which is customized with options. (10 minutes)