RailsCasts Pro episodes are now free!

Learn more or hide this

Applied Filters: model xRails 2.1 x
Caching in Rails 2.1
Episode #115Jun 23, 200878 comments

Caching in Rails 2.1

Rails 2.1 brings some new caching features which makes it very easy to cache any values including models. See how in this episode. (8 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)
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)