#112 Anonymous Scopes
Jun 02, 2008 | 8 minutes | Active Record, Rails 2.1
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.