ryanb/railscasts — pull request #49 by goncalossilva (2011-11-05 18:25:46+00:00)
Title: Explicitly include episode to avoid hitting ActiveRecord's cache so much

Since @episode is loaded by cancan you can't eager load its comments up-front. You do this in the partial, but for some reasone whenever you're accessing comment.episode it's hitting ActiveRecord's cache. This fixes it.