RailsCasts Pro episodes are now free!

Learn more or hide this

named_scope

#108 named_scope

May 19, 2008 | 11 minutes | Active Record, Rails 2.1
The named_scope method in Rails 2.1 makes performing finds on models very elegant and convenient. See how in this episode.
  • Download:
  • mp4Full Size H.264 Video (13.7 MB)
  • m4vSmaller H.264 Video (10.2 MB)
  • webmFull Size VP8 Video (27.8 MB)
  • ogvFull Size Theora Video (18.4 MB)