Support the ongoing development of Laravel.io →
pmall

pmall

Joined 27 Jun 2014

Statistics

Threads 2
Replies 91
Solutions 17
Articles 0
posted 11 years ago

Testing filters assignment

As mentioned here filters are disabled while testing controllers. So as taylor said, I've made class...

0 Likes
1 Replies

How to sync pivot data via morphedByMany ?

Hello ! i'm trying to sync a polymorphic pivot table from the morphedByMany side of a relationship....

0 Likes
0 Replies
replied 11 years ago
0 Likes
replied 11 years ago

Call to undefined method User::save()

You should use migrations in order to manipulate your database schema.

0 Likes
replied 11 years ago
0 Likes
replied 11 years ago

Eloquent relation

WhereHas is made for that.

0 Likes
Solved
replied 11 years ago

Modular Models

Why not just class User extends Eloquent{ public function pages(){ return $this->hasMany('Pa...

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.