title: CakePHP delete() model method failing
body: <p>I have been having an issue with the <code>$this-&gt;delete()</code> method that deletes a record from the corresponding model. Previously I had the statement contained in an if statement that would detect a <code>return false;</code> coming back from the <code>delete()</code> and then fail. </p>
  
  <p>The problem is that it fails 100% of the time. I have gone through and double checked the relationships quite a few times to make sure I'm taking care of, and deleting all dependencies prior to deleting this record.</p>
  
  <p>Currently I have removed the statement from the "if" block and just made it execute no matter what and it works without error. </p>
  
  <p>If I was getting a false returned before, shouldn't I be seeing some sort of error?</p>
  
  <p>Ex:</p>
  
  <pre><code>if ($this-&gt;customeDelete($id)) {
      if ($this-&gt;ModelName-&gt;ModelName2-&gt;ModelName3-&gt;customDelete($id)) {
          if ($this-&gt;ModelName4-&gt;deleteAll(array('foreign_id' =&gt; $id))) {
  
              // Prior to this line, all deletes were successful. This is where it fails. 
              //The previous lines are custom model methods
  
              if ($this-&gt;delete($id)) {  // If statement that is failing
                  $this-&gt;commit();
                  return true;
              }
          }
      }
  }
  </code></pre>