Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

Eager Loading

#22 Eager Loading

Apr 23, 2007 | 4 minutes | Performance, Active Record
One way to improve performance is to cut down on the number of SQL queries. You can do this through eager loading. Learn all about it in this episode!
  • Download:
  • mp4Full Size H.264 Video (10.6 MB)
  • m4vSmaller H.264 Video (6.18 MB)
  • webmFull Size VP8 Video (13.2 MB)
  • ogvFull Size Theora Video (12.6 MB)