title: insert query is not working in cake php
body: <p>this is action url: <code>http://localhost/carsdirectory/users/dashboard</code>.</p>
  
  <p>dashboad.ctp (i have select filed and in this select field i m fetching data from that filed car_type and table name car_types)</p>
  
  <pre><code>&lt;?php echo $this-&gt;Form-&gt;create('User', array('type' =&gt; 'file', 'action' =&gt; 'dashboard')); ?&gt;
  
       &lt;label class="ls-details-label"&gt;Type&lt;/label&gt;
      &lt;div class="ls-details-box"&gt;
          &lt;?php 
              foreach ($car_types as $car_type)
              {
                  $car_type_new[$car_type['Car_type']['id']]=
                                          $car_type['Car_type']['car_type'];
              }
              echo $this-&gt;Form-&gt;input('car_type',
                                      array(  'label'=&gt;false,
                                              'options'=&gt;$car_type_new,
                                              'empty'=&gt;' Select ',
                                              'class'=&gt;'styledselect_form_1'));
          ?&gt;
      &lt;/div&gt;
  &lt;?php echo $this-&gt;Form-&gt;end(array('label' =&gt; 'Submit', 
                                      'name' =&gt; 'Submit',     
                                      'div' =&gt; array('class' =&gt; 'ls-submit')));?&gt;
  </code></pre>
  
  <p>users_controller.php (controller)</p>
  
  <pre><code>class UsersController extends AppController{
  
     var $name = "Users";
  
     public function dashboard(){
  
        $this-&gt;loadModel('Car_type'); // your Model name =&gt; Car_type      
        $this-&gt;set('car_types', $this-&gt;Car_type-&gt;find('all'));
  
           if(!empty($this-&gt;data))
         {
  
          $this-&gt;loadModel('Car');
  
          if($this-&gt;Car-&gt;save($this-&gt;data))
          {
            $this-&gt;Session-&gt;setFlash('Detail has Been Saved');
  
            $this-&gt;redirect(array('action'=&gt;'dashboard'));
  
          }
          else
          {
              $this-&gt;Session-&gt;setFlash('Detail could not save'); 
  
          }
  
      }
  
  }
  </code></pre>
  
  <p>car.php (model)</p>
  
  <pre><code>&lt;?php
  class Car extends appModel{
    var $name = "Car";
  }
  ?&gt;
  </code></pre>
  
  <p>i want to inset data car_type_id field in (table name cars) , but i m not able to do it </p>
  
  <p>so plz help me</p>
  
  <p>thanks in advance, vikas tyagi</p>