title: Laravel First Or New
body: <p>I seem to be getting the same error when I use UpdateOrNew or FirstOrNew in Laravel, to the best of my knowledge I have implemented the code correctly. </p>
  
  <p><strong>Current Code</strong></p>
  
  <pre><code>    $updateOrCreate = Rating::firstOrNew(
          array(
              'user_id' =&gt; Auth::user()-&gt;id,
              'video_id' =&gt; $_POST['videoId']
              )
      );
  
      $updateOrCreate-&gt;user_id = Auth::user()-&gt;id;
      $updateOrCreate-&gt;video_id = $_POST['videoId'];
      $updateOrCreate-&gt;rating =   $_POST['rating'];
  
      if($updateOrCreate-&gt;save()){
          echo "saved";
      }else{
          echo "failed";
          print_r($_POST);
      };
  </code></pre>
  
  <p><strong>Error</strong> </p>
  
  <pre><code>error: {type:Illuminate\Database\Eloquent\MassAssignmentException, message:user_id,…}
  file: "/home/celeb/public_html/dev/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php"
  line: 411
  message: "user_id"
  type: "Illuminate\Database\Eloquent\MassAssignmentException"
  </code></pre>