RailsCasts Pro episodes are now free!

Learn more or hide this

Include vs Joins

#181 Include vs Joins

Sep 28, 2009 | 11 minutes | Active Record
The :include and :joins options for the find method can be a little confusing because they are so similar. In this episode I show specifically when to use which option.
  • Download:
  • source codeProject Files in Zip (99.3 KB)
  • mp4Full Size H.264 Video (19.8 MB)
  • m4vSmaller H.264 Video (13.3 MB)
  • webmFull Size VP8 Video (30.6 MB)
  • ogvFull Size Theora Video (30.2 MB)