title: Form is submitting the Array instead of the wanted field in CakePHP
body: <p>I am new to cake and I am trying to learn its philosophy. So I am trying to create a form "Movie" as follows and my database accepts movie_id, title, year, and description. When I run the code it tries to store the "array" as the year input. This is the error I get => <code>movie_id</code>, <code>title</code>, <code>year</code>, <code>description</code>) VALUES (NULL, 'Movie1', Array, 'some text')   </p>
  
  <p>THE VIEW:</p>
  
  <pre><code>   &lt;?php echo $this-&gt;Form-&gt;create('Movie'); ?&gt;
      &lt;?php echo __('Add Movie'); ?&gt;
  
       &lt;?php
          echo $this-&gt;Form-&gt;hidden('movie_id');
  
          echo $this-&gt;Form-&gt;input('title');
  
           echo $this-&gt;Form-&gt;input('year', array(
              'type'=&gt;'date',
              'dateFormat'=&gt;'Y',
              'minYear'=&gt;'1990',
              'maxYear'=&gt;date('Y'),
          ));
  
          echo $this-&gt;Form-&gt;input('description');
  
          ?&gt;
  
  &lt;?php echo $this-&gt;Form-&gt;end(__('Submit')); 
  
  ?&gt;
  </code></pre>
  
  <p>THE CONTROLLER:</p>
  
  <pre><code>public function add() {
  
  if ($this-&gt;request-&gt;is('post')) {
  
      $this-&gt;Movie-&gt;create();
  
        if ($this-&gt;Movie-&gt;save($this-&gt;request-&gt;data)) {
          $this-&gt;Session-&gt;setFlash(__('The movie has been created'));
          $this-&gt;redirect (array('action'=&gt;'index'));
        } 
  
        else {
  
          $this-&gt;Session-&gt;setFlash(__('The movie could not be created. Please, try again.'));
  
        }
  }
  }
  </code></pre>
  
  <p>As I said I am new to cake so my apologies if this question sounds stupid, please give your solution. Thanks</p>