Support the ongoing development of Laravel.io →
neon5

neon5

Joined 21 Feb 2014

Statistics

Threads 25
Replies 44
Solutions 0
Articles 0

How do I copy a model and its many children efficiently?

Hello, I need to copy a parent model and its children and its children's children. I don't want to d...

0 Likes
21 Replies
posted 11 years ago

Can't get blade to escape properly

I am using the WYSIWYG editor Summernote but this seems to be an issue with any editor: Let's say I...

0 Likes
0 Replies

Is this a bug or am I just doing it wrong?

$owner = Owner::with('cars.carParts')->where('id', "=", $ownerID)->first(); $owner-...

0 Likes
6 Replies

Returning records using withTrashed()

An Owner has many Cars... And in my blade page I have this... {{{$car->Owner->name}}} And tha...

0 Likes
3 Replies

Stuck on this! How to stop these database hits?

Something was causing multiple calls to the User table. I found the solution on some blog that reco...

0 Likes
2 Replies
replied 11 years ago

What's the correct way to get the ID from the URI?

That look great, but how to I pass the $id to my controller? I know I need to put something in "...

0 Likes
replied 11 years ago

How to reference this object's "belongsTo" user?

Actually, it was anything but simple. It's taken me hours to get this right. For the User model I h...

0 Likes
replied 11 years ago

How to reference this object's "belongsTo" user?

Ah, no, I don't model that. I bet that's it. I think it's this here \vendor\cartalyst\sentry\src\Ca...

0 Likes
replied 11 years ago

How to reference this object's "belongsTo" user?

Just tried that now and same results.

0 Likes
replied 11 years ago

How to reference this object's "belongsTo" user?

I like your first example as I don't want to put a lot of user logic in the Cars class. So in my con...

0 Likes

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2026 Laravel.io - All rights reserved.