$relation was being over-written with the calling function name. I picked this up when trying to associate a model relationship dynamically via $model->belongsTo($related, $foreignKey, $otherKey, $relation)->associate($relationModel);
$relation was being over-written with the calling function name. I picked this up when trying to associate a model relationship dynamically via $model->belongsTo($related, $foreignKey, $otherKey, $relation)->associate($relationModel);

farzak/ardent,laravelbook/ardent,jarbitlira/ardent,ricardoriogo/ardent,davincho/ardent