Learn some advanced techniques regarding named scopes and get an introduction to Arel in this episode.

Read more at the source