title: saveall not saving associated data
body: <p>I'm having a problem trying to save (update) some associated data. I've read about a million google returns, but nothing seems to be the solution. I'm at my wit's end and hope some kind soul here can help. </p>
  
  <p>I'm using 1.3.0-RC4, my database is in InnoDB.</p>
  
  <p>Course has many course_tees<br>
  CourseTee belongs to course</p>
  
  <p>My controller function is pretty simple (I've made it as simple as possible):</p>
  
  <pre><code>if(!empty($this-&gt;data))
  $this-&gt;Course-&gt;saveAll($this-&gt;data);
  </code></pre>
  
  <p>I've tried a lot of different variations of that $this->data['Course'], save($this->data), etc without luck.</p>
  
  <p>It saves the Course info, but not the CourseTee stuff. I don't get an error message.</p>
  
  <p>Since I don't know how many tees any given course will have, I generate the form inputs dynamically in a loop.</p>
  
  <pre><code>$form-&gt;input('CourseTee.'.$i.'.teeName', array(
      'error' =&gt; false,
      'label' =&gt; false,
      'value'=&gt;$data['course_tees'][$i]['teeName']
  ))
  </code></pre>
  
  <p>The course inputs are simpler:</p>
  
  <pre><code>$form-&gt;input('Course.hcp'.$j, array(
      'error' =&gt; false,
      'label' =&gt; false,
      'class' =&gt; 'form_small_w',
      'value'=&gt;$data['Course']['hcp'.$j]
  ))
  </code></pre>
  
  <p>And this is how my data is formatted:</p>
  
  <pre><code>Array
  (
    [Course] =&gt; Array
    (
      [id] =&gt; 1028476
      ...
    )
  
    [CourseTee] =&gt; Array
    (
      [0] =&gt; Array
    (
      [key] =&gt; 636
      [courseid] =&gt; 1028476
      ...
    )
  
    [1] =&gt; Array
    (
      [key] =&gt; 637
      [courseid] =&gt; 1028476
      ...
    )
  
    ...
  
    )
  )
  </code></pre>