title: CakePHP requiring a database table
body: <p>I intended to create a controller that handles a contact page. I created the controller ContactsController. The problem is that it is asking for a table with the same name:</p>
  
  <blockquote>
    <p>Missing Database Table</p>
    
    <p>Error: Database table
    username_contacts for model Contact
    was not found.</p>
    
    <p>Notice: If you want to customize this
    error message, create
    app/views/errors/missing_table.ctp</p>
  </blockquote>
  
  <p>Do I really need to create a table with no data for this?</p>
  
  <p>This is my controller code:</p>
  
  <pre><code>&lt;?php
  class ContactsController extends AppController {
  
      var $name = 'Contacts';
  
  
      function index($id = null)
      {
          $this-&gt;set('page', ClassRegistry::init('Page')-&gt;findByShortname($id));
      }
  }
  </code></pre>