RailsCasts Pro episodes are now free!
Learn more or hide this
There is a newer version of this episode, see the revised episode.
Task.find(:all, :include => :projects) Task.find(:all, :include => [:projects, :comments]) Task.find(:all, :include => [:projects, {:comments => :user}])