Support the ongoing development of Laravel.io →
Nertskull

Nertskull

Joined 3 Apr 2015

Statistics

Threads 19
Replies 20
Solutions 5
Articles 0
posted 6 years ago

Named routes with data coming from Vue in v-for loop?

I have this line, and everything works as I expect. My data is coming in fine from the Vue ajax req...

0 Likes
0 Replies

Query builder not escaping quotes or backslashes correctly?

I have a searchbox users can use to search fields using the following query. (I've not copied in the...

0 Likes
0 Replies

Scope in eloquent overrides my select statement

I have a scope that looks like this public function scopeNotDefault() { return $this->where('...

0 Likes
1 Replies
posted 9 years ago

Sortby On Collection using Relationship as first sort.

I have a collection of products. Each product is assigned to a category. I am using ->with(produ...

0 Likes
0 Replies

Validator errors not in session?

I am validating a form with the following $validator = \Validator::make($request->all(), [ 'p...

0 Likes
11 Replies
Solved
replied 9 years ago

Max value on empty table returns Builder not Null

I don't know if this is the 'right' solution or the best way. But it seems to work for me for now. S...

0 Likes
Solved
replied 9 years ago

Max value on empty table returns Builder not Null

I hate to bump, but I'm still lost on how to make this work a week later here.

0 Likes
replied 9 years ago

Max value on empty table returns Builder not Null

astroanu said: you forgot the get() $maxVal = model::where(x)->max(column)->get(); That doe...

0 Likes
replied 10 years ago

User randomly getting logged out

elite123 said: Probably not the issue, but might be worth checking php can write to the folder wher...

0 Likes
replied 10 years ago

Redirect::back() with two sets of POST data?

jimgwhit said: You can use jQuery AJAX leave everything filled in and just check it on server with...

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.