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

Validation: unique ignoring a given id

the snippet above doesnt work ? Whats the error ?

0 Likes
replied 11 years ago

.blade templates do not parse variables

I think he was saying that if you put an @ like this @{{ $angular will parse this }} Laravel will r...

0 Likes
replied 11 years ago

Validation: unique ignoring a given id

I like to do it this way : $username = ($this->username) ?: 'NULL'; public $rules = array(...

0 Likes
replied 11 years ago

Validation: unique ignoring a given id

Of course you should have the extra conditions on update, and should not have them on create, i misr...

0 Likes
replied 11 years ago

Validation: unique ignoring a given id

You can specify the primary key name and other fields to ignore with the unique rule, just read the...

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.