title: laravel model save() will save duplicated data in db
body: <p>I wrote some code learn from a php/laravel video tutorial . but the result is not the same.
  the problem step is:</p>
  
  <ol>
  <li>create a db table named questions and a model named Question.</li>
  <li>add a function to save data into db. </li>
  <li><p>in this function, use bellow code:</p>
  
  <pre><code>use Illuminate\Database\Eloquent\Model;
  
  class Question extends Model
  {
      public function add_question(){
          $this-&gt;title = rq('title');
          $this-&gt;user_id = session('user_id');
          if(rq('description'))
              $this-&gt;desc = rq('description');
          $result = $this-&gt;save();
          //dump($result);
          return( $result)?
               ['status'=&gt; '1' , 'id'=&gt;$this-&gt;id] :
               ['status'=&gt; '0' , 'message'=&gt;'db save fail'];
      }
  }
  </code></pre></li>
  <li><p>run in browser 
  <a href="http://localhost/api/question/add?title=rrrrr&amp;description=tttttt" rel="nofollow noreferrer">http://localhost/api/question/add?title=rrrrr&amp;description=tttttt</a>
  and check db, there will be two same records. like bellow:</p>
  
  <pre><code>id  title   descdescription  user_id    status  created_at       updated_at
  12  rrrrr   tttttt           18         ok      2019/4/7 16:55   2019/4/7 16:55
  13  rrrrr   tttttt           18         ok      2019/4/7 16:55   2019/4/7 16:55
  </code></pre>
  
  <p>it is not same result as it is in the video tutorial.</p></li>
  <li>if I uncomment <strong><em>dump($result);</em></strong>  , it will insert 1 record normally.</li>
  </ol>
  
  <h2>I am using wampserver on windows, PHP version is 7.3.1. I am a freshman on PHP. So I don't know what is the problem.</h2>
  
  <p>rq() is in web.php</p>
  
  <pre><code>function rq($key=null, $default=null){
      if(!$key)return Request::all();
      return Request::get($key,$default);
  }
  
      function question_ins(){
          return new App\Question;
      }
  
      Route::any('api/question/add', function () {
  
          return(question_ins()-&gt;add_question());
      });
  </code></pre>