Support the ongoing development of Laravel.io →

ekaitzastiz

Joined 5 Feb 2014

Statistics

Threads 2
Replies 21
Solutions 1
Articles 0
posted 8 years ago

test is green when should be red!!

Hello. I am a TDD beginner (just 150-200 tests done), I am passing some tests, but I am surprised, b...

Likes Replies
posted 8 years ago

testing controller, error with getTotal() in the view

I had writen some tests to test controllers (I use repository pattern....). Everything was working f...

Likes Replies
replied 8 years ago

Eloquent join not working

It's basic, but may be... Are you sure you have Idea with idea_id 10 ?

0 Likes
replied 8 years ago

Eloquent join not working

I think it is because you put "select" after the relationship, you need to put select(ar...

0 Likes
replied 8 years ago

multiple paginate in single view page

I think you should build it, what is clear is that you need page= page1= page2= , I mean, different...

0 Likes
replied 8 years ago

where() on with() relation

just do it with join. (if you use soft deletes then remember to put a whereNull() in the joined tabl...

0 Likes
replied 8 years ago

where() on with() relation

"with()" will return the related products, if there aren't, then null will be returned. So...

0 Likes

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

Your logo here?

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

© 2022 Laravel.io - All rights reserved.