Good morning Please how to associate private attributes in models ? If I use Robots and Robots_similar example with private attributes
public function initialize() { $this->belongsTo('robots_id', 'Robots', 'id'); $this->belongsTo('similar_robots_id', 'Robots', 'id'); }
could not work !!