title: BadMethodCallException in Macroable.php line 74: Method save does not exist. Laravel 5.2
body: <p>Hello I am new to laravel and now I am facing this error <code>BadMethodCallException in Macroable.php line 74: Method save does not exist.</code> </p>
  
  <p>If I <code>var_dump(); die();</code> all of the outputs then I am getting all of them but when I use save method to save the results in to the database it gives me this error of <code>save method does not exist</code>. I dont know where in my code am I doing it wrong. </p>
  
  <p>Please see the route controller and view for proper understanding. Thank you in advance.</p>
  
  <h1>Controller</h1>
  
  <pre><code>public function td($id) {
  
      $tn = $this-&gt;t-&gt;getAllTn();
      $to = $this-&gt;t-&gt;getAllTo();
  
      $time = Carbon\Carbon::now(); // current time
      $time-&gt;toDateTimeString(); // converting time to string
  
      if((isset($_POST["n"]) &amp;&amp; !empty($_POST["n"]))) {
          $tn-&gt;t_type_id = Input::get('options');
          $tn-&gt;d_id = $id;
          $tn-&gt;result = Input::get('message');
          $tn-&gt;date = $time;
  
          // var_dump($tn-&gt;date);
          // var_dump($tn-&gt;t_type_id);
          // var_dump($tn-&gt;d_id);
          // var_dump($tn-&gt;result);
          // die();
  
          Session::flash('message', 'Your tn has been added.');
          $tn-&gt;save();
  
      } else if((isset($_POST["o"]) &amp;&amp; !empty($_POST["o"]))) {
  
          $to-&gt;d_id = $id;
          $to-&gt;outcome = Input::get('message');
          $to-&gt;date = $time-&gt;toDateTimeString();
  
          // var_dump($to-&gt;d_id);
          // var_dump($to-&gt;outcome);
          // var_dump($to-&gt;date = $time-&gt;toDateTimeString());
          // die();
  
          Session::flash('message', 'Your to has been added.');
          $to-&gt;save();
      }
      return redirect('/t');
  }
  </code></pre>
  
  <h1>Route</h1>
  
  <pre><code>Route::get('/t/{id}', 'TController@td');
  Route::post('/t/{id}', 'TController@td');
  </code></pre>
  
  <h1>View</h1>
  
  <pre><code> &lt;div class="form-group"&gt;
  &lt;form action="/t/{{ $d['id'] }}" method="post"&gt;
  
                      {{ csrf_field() }}
  
  &lt;div class="panel-body"&gt;&lt;h4&gt;Heading here&lt;/h4&gt;&lt;/div&gt;
          &lt;select class="form-control" id="options" name="options" style="width:100%" type="checkbox"&gt;
  
              @foreach($t as $t)
                  &lt;option value="{{ $t-&gt;id }}"&gt;{{ $t-&gt;type }}&lt;/option&gt;
              @endforeach 
  
          &lt;/select&gt;
      &lt;/div&gt; 
  
  &lt;div class="col-md-4" id="value" align="center"&gt;
              &lt;div class="panel panel-warning"&gt;
                  &lt;div class="panel-heading"&gt;
                  Enter text below
                  &lt;/div&gt;
  
                          &lt;div class="form-group has-success"&gt;
                              &lt;textarea class="form-control" id="message" name="message" placeholder="Please enter your message here..." rows="5"&gt;&lt;/textarea&gt;
                              &lt;input type="submit" class="btn btn-primary" name="n" value="A-N"&gt;
                              &lt;input type="submit" class="btn btn-primary" name="o" value="A-O"&gt;
                          &lt;/div&gt;
                  &lt;/form&gt;
              &lt;!--          Notes: &lt;br/&gt;--&gt;
  
          &lt;/div&gt;
  
  &lt;script     src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.1/jquery.min.js"&gt;&lt;/script&gt;
  
  &lt;script&gt;
  
  function hide() {
  $("#value").hide();
  $("#h").hide();
   $("#search").hide();
  }
  
  function show() {
  $("#value").show();
  $("#h").show();
   $("#search").show();
  }
  
  function initHandlers() {
  $("#options").on('click', function() {
      show();
  });
  }
  
  hide();
  initHandlers();
  
  &lt;/script&gt;
  </code></pre>
  
  <h1>Interface Implementation</h1>
  
  <pre><code>public function getAllTn() {
    return TN::all();
  }
  
  public function getAllTO(){
    return TO::all();
  }
  </code></pre>