title: CakePHP: Cant delete in beforeSave method
body: <p>I am having a problem with deleting data from a table in a plugin.</p>
  
  <p>In the Model I am calling:</p>
  
  <pre><code>$this-&gt;delete((int) $this-&gt;data['Attachment']['id']);
  </code></pre>
  
  <p>But it is not deleting, and the ID is correct.</p>