riotCode

Results comments of riotCode

Interesting, with your setup ``` $posts = Post::has('parent')->get(); ``` I can confirm I can not get anything. I can get a parent through the relationship though ``` $post = Post::find($id);...

@ceesvanegmond, yeah it doesn't they're different use cases but the relationship does work to an extent. It seems that the `has()` and `whereHas()` methods do not in this case, if...

That doesn't give the expected result, in that case it would retrieve all the posts that are children of another post. The expected result is to retrieve all posts that...

@marcvdm that's correct, my mistake. That would be an alternative solution for his case instead of using `has()`

There's very little cases I can think of that assigning a variable within the view is acceptable, I don't think it's good to implement something that would encourage to do...

:+1: like the alternative structure

That is not for this repo. This is https://packagist.org/packages/laravel/framework 5.0.22 of laravel/laravel is the project repo for versions 5.0.22+, from it's composer.json it will install laravel/framework 5.0.\* (which resolves to...

Ah, nevermind I see now it is fixed in main branch, just not released yet.