title: Laravel - join comments ,posts, users
body: <p>I'm trying to return every posts with each one's author, and also every post's comments with it's author.
  this is what i did:    </p>
  
  <p><strong>The controller:</strong>    </p>
  
  <p><code>$posts = Post::with('comments', 'user')-&gt;latest()-&gt;paginate(3);</code>   </p>
  
  <p><strong>The Post model:</strong></p>
  
  <pre><code>public function comments() {
      return $this-&gt;hasMany('App\Comment');
  }
  
  public function user() {
      return $this-&gt;belongsTo('App\User');
  }
  </code></pre>
  
  <p><strong>The Comment model:</strong></p>
  
  <pre><code>public function users() {
      return $this-&gt;hasOne('App\User');
  }
  </code></pre>
  
  <p>This returns every post with their authors and the comments but not the comment's author.<br>
  what else should i do??</p>