title: Call to undefined relationship on model
body: <p>We have the following class using $with:</p>
  
  
  
  <pre class="lang-php prettyprint-override"><code>class CargaHorasEmpleado extends Model
  {
  
      protected $table = "empleados_horas";
      protected $with = ["tipoTarea", "proyecto", "empleado", "empleadoQueHizoLaCarga"];
  
      public function tipoTarea()
      {
          return $this-&gt;belongsTo('App\TipoTarea', 'id_tipo_tarea', 'id')-&gt;withTrashed();
      }
  
      public function empleado()
      {
          return $this-&gt;belongsTo('App\Empleado', 'id_empleado', 'id')-&gt;withTrashed();
      }
  
      public function empleadoQueHizoLaCarga()
      {
          return $this-&gt;belongsTo('App\Empleado', 'id_empleado_cargo_hs', 'id')-&gt;withTrashed();
      }
  
      public function proyecto()
      {
          return $this-&gt;belongsTo('App\Proyecto', 'id_proyecto', 'id')-&gt;withTrashed();
      }
  
  }
  </code></pre>
  
  <p>This is the class TipoTarea</p>
  
  <pre class="lang-php prettyprint-override"><code> namespace App;
  
      use Illuminate\Database\Eloquent\Model;
  
      class TipoTarea extends Model
      {
          protected $table = 'tipos_tareas';
  
          public $timestamps = false;
  
          protected $fillable = [
              'titulo', 'descripcion'
          ];
  
      }
  </code></pre>
  
  <p>Thep page throws the error: "Call to undefined relationship [tipoTarea] on model [App\CargaHorasEmpleado]". That's the only relationship that's not working. The others are fine. What's wrong?</p>