title: laravel call to undefined relationship that exists
body: <pre><code> Call to undefined relationship [App\Models\Challenge] on model [App\Models\UserChallenge]
  </code></pre>
  
  <p>Even though I have the relationship defined:</p>
  
  <p>UserChallenge:</p>
  
  <pre><code>&lt;?php
  
  namespace App\Models;
  
  use App\Models\Eloquent\UserChallenge as EloquentUserChallenge;
  
  class UserChallenge extends EloquentUserChallenge {
      /**
       * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
       */
      public function challenge()
      {
          return $this-&gt;belongsTo('App\Models\Challenge');
      }
  
  };
  </code></pre>
  
  <p>Challenge:</p>
  
  <pre><code>&lt;?php
  
  namespace App\Models;
  
  use App\Models\Eloquent\Challenge as EloquentChallenge;
  
  class Challenge extends EloquentChallenge {
  
  };
  </code></pre>