Anonymous Scopes
Category: Web Development > Ruby On Rails      Posted: 05 Jun 08

The scoped method allows you to generate named scopes on the fly. In this episode I show how to use anonymous scopes to improve the conditional logic which was used in the previous episode on advanced search form.

Advanced Search Form
Category: Web Development > Ruby On Rails      Posted: 05 Jun 08

If you need to create an advanced search with a lot of fields, it may not be ideal to use a GET request as I showed in episode 37. In this episode I will show you how to handle this by creating a Search resource

Tracking Attribute Changes
Category: Web Development > Ruby On Rails      Posted: 05 Jun 08

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.

named_scope
Category: Web Development > Ruby On Rails      Posted: 05 Jun 08

The named_scope method in Rails 2.1 makes performing finds on models very elegant and convenient. See how in this episode.

Migrations in Rails 2.1
Category: Web Development > Ruby On Rails      Posted: 05 Jun 08

Migrations now have a timestamp as their version number in Rails 2.1. In this episode I will explain this change as well as show you some other cool additions. Tags:

Gitting Rails 2.1 RC1
Category: Web Development > Ruby On Rails      Posted: 05 Jun 08

Rails 2.1 Release Candidate 1 was just released! In this episode I will show you how to install it into your Rails project.