Support the ongoing development of Laravel.io →

ekaitzastiz

Joined 5 Feb 2014

Statistics

Threads 2
Replies 21
Solutions 1
Articles 0
posted 10 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...

0 Likes
1 Replies
posted 10 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...

0 Likes
0 Replies
replied 9 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 9 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 9 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 9 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 9 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?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.