classes/Fields/BelongsTo.php
protected function guessRelation()
    {
        if ($this->relation) {
            return $this->relation;
        }

        return Str::camel(str_replace('_id', '', $this->name));
    }
protected function guessRelation()
    {
        if ($this->relation) {
            return $this->relation;
        }

        return Str::camel(str_replace('_id', '', $this->name));
    }
protected function guessRelation ( ) { if ( $ this -> relation ) { return $ this -> relation ; } return Str :: camel ( str_replace ( '_id' , '' , $ this -> name ) ) ; }
Guess at the relationship name by removing id from the name and camel casing

@return string
Guess at the relationship name by removing id from the name and camel casing