title: Laravel: Undefined property: Illuminate\Database\Eloquent\Relations\HasMany::$game
body: <p>I'm making a game by using PHP and Laravel. And now I want to store some records like games played, the wins they received and the losts. But how can I save those records for the User that has logged in?</p>
  
  <p>I tried this, but I get the error (Title of the post);</p>
  
  <pre><code>    public function winGame() {
      if(isset(Auth::user()-&gt;email)) {
          $user = User::find(Auth::user()-&gt;id);
  
          $games = $user-&gt;statuses()-&gt;game;
          $gamesPlus = $games + 1;
  
          $wins = $user-&gt;statuses()-&gt;wins;
          $winsPlus = $wins + 1;
  
          $user-&gt;statuses()-&gt;save($gamesPlus, $winsPlus);
      }
  }
  </code></pre>
  
  <p>And I may not use the DB:: method only the Model name.</p>
  
  <p>Model User:</p>
  
  <pre><code>public function statuses()
  {
      return $this-&gt;hasOne('App\Status');
  }
  </code></pre>
  
  <p>Model Status:</p>
  
  <pre><code>public function user()
  {
      return $this-&gt;belongsTo('App\User');
  }
  </code></pre>