I'm seeing the example that the docs gives:
$robotPart = RobotsParts::findFirst(1);
// RobotsParts model has a n-1 (belongsTo)
// relationship to RobotsParts then
$robot = $robotPart->robots;
I want to do the same, but with groups and grades. So it will be:
$group = Group::findFirst();
$grade = $group->grade;
But it isn't working. What I'm doing wrong? I didn't understand it well?