title: Getting an issue on saving data through save() method in CakePHP
body: <p>I'm developing a web app using a cakephp. I've one function in which I want to save some data to the model using cakephp's save() method. But whenever I'm going to save the data I'm getting this kind of error:</p>
  
  <pre><code>Fatal error: Call to undefined method App::save() in /httpdocs/MyApp/app/Controller/AppsController.php on line 71
  </code></pre>
  
  <p>Anyone know what I'm missing here. My controller's function is as below:</p>
  
  <pre><code>public function add_app($id=null){
      $this-&gt;layout = 'user';
      if (!empty($id)) {
  
          $this-&gt;request-&gt;data['App']['id_users'] = $_SESSION['edit_user_id'];
          $this-&gt;request-&gt;data['App']['id_store'] = $id;
          $this-&gt;request-&gt;data['App']['id_unique_app'] = $Guid;
          $this-&gt;request-&gt;data['App']['tx_app_name'] = $data['results'][0]['trackName'];
          $this-&gt;request-&gt;data['App']['tx_platform'] = 'iOS';
          $this-&gt;request-&gt;data['App']['nu_price'] = $data['results'][0]['price']; 
          $this-&gt;request-&gt;data['App']['da_created'] = date("Y-m-d H:i:s");
  
          if ($this-&gt;App-&gt;save($this-&gt;request-&gt;data)) {
              $this-&gt;Session-&gt;setFlash('The selected app has been added successfully.');
              $this-&gt;redirect(array('action' =&gt; 'index'));
          }
  
      }
  
  }
  </code></pre>
  
  <p>thanks in advance.</p>