title: Nested Includes in Ruby on Rails 3
body: <p>In Ruby on Rails I have School which has many children. Children which has many activities. And Activity which has one activity_types. I need help nesting includes. In my Children Controller. I have this... which works. </p>
  
  <pre><code>s = School.find(params[:school_id])
  @school = s
  @children = s.children.includes(:activities).all
  </code></pre>
  
  <p>But I want to also get the :activity_type from the activities from the children. I tried this</p>
  
  <pre><code>s = School.find(params[:school_id])
  @school = s
  @children = s.children.includes(:activities =&gt; :activity_types).all
  </code></pre>
  
  <p>But that did not work </p>