# #112 Anonymous Scopes

> Episode of [RailsCasts](https://podistic.com/podcast/railscasts.md) · Published June 2, 2008 · Duration 8:49

- **Listen on Podistic:** https://podistic.com/episode/112-anonymous-scopes
- **Video:** http://media.railscasts.com/assets/episodes/videos/112-anonymous-scopes.mp4 (video/mp4)

## About this episode

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.
