#112 Anonymous Scopes
RailsCasts
English - June 02, 2008 07:00 - 8 minutes - 16.2 MB Video - ★★★★★ - 213 ratingsTechnology Education How To rails ruby on rails screencasts podcasts tips tricks tutorials training programming railscast Homepage Download Apple Podcasts Google Podcasts Overcast Castro Pocket Casts RSS feed
Previous Episode: #111 Advanced Search Form
Next Episode: #113 Contributing to Rails with Git
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.