title: How to debug when CakePHP Model::save() doesn't attempt an INSERT
body: <p>I am having a bear of a time saving the simplest record from a model called ItemView:</p>
  
  <pre><code>if($this-&gt;save($this-&gt;data)) {
    echo 'worked';
  } else {
    echo 'failed';
  }
  </code></pre>
  
  <p>Where $this->data is:</p>
  
  <pre><code>Array
  (
      [ItemView] =&gt; Array
          (
              [list_id] =&gt; 1
              [user_id] =&gt; 1
          )
  )
  </code></pre>
  
  <p>And my table is:</p>
  
  <pre><code>CREATE TABLE IF NOT EXISTS `item_views` (
    `id` int(11) NOT NULL auto_increment,
    `list_id` int(11) NOT NULL,
    `user_id` int(11) default NULL,
    `user_ip` int(10) unsigned default NULL,
    `created` datetime NOT NULL,
    PRIMARY KEY  (`id`)
  ) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED AUTO_INCREMENT=1 ;
  </code></pre>
  
  <p>Looking at the query dump in debug mode, Cake isn't even attempting an INSERT, so I have no idea how to debug.</p>
  
  <p>Any help would be appreciated.</p>