Support the ongoing development of Laravel.io →
jerauf

jerauf

Joined 16 Feb 2014

Statistics

Threads 82
Replies 112
Solutions 2
Articles 0
posted 8 years ago

withDefault for hasOne?

Does withDefault() work with a hasOne relationship? I haven't been able to get it to work.

0 Likes
0 Replies
posted 8 years ago

PHP Fatal error: Class 'Route' not found

[05-Jul-2017 23:46:09 America/Los_Angeles] PHP Fatal error: Class 'Route' not found in [My Path]/rou...

0 Likes
4 Replies

Sorting with Jquery UI

I'm trying to sort with Jquery UI in Laravel and it's giving me fits. Here is my controller: public...

0 Likes
0 Replies
posted 8 years ago

PHP Fatal error: Class 'Route' not found on Laravel 5.4

I've suddenly started getting this error: PHP Fatal error: Class 'Route' not found The error messa...

0 Likes
1 Replies
posted 8 years ago

Removing 'the', 'an' and converting numbers to text

I'm trying to use a sort field in my database but everything needs to be entered twice. So I'm looki...

0 Likes
0 Replies
replied 10 years ago

Accessing HTML files in the public directory

I haven't touched the .htaccess file in the public folder.

0 Likes
replied 10 years ago

Using model classes in Laravel 5

So if I understand correctly, at the top of the controller, I'll need to do the following for each m...

0 Likes
replied 11 years ago

Drag and drop sorting with JQuery UI

I'm getting an internal server error. Error 500.

0 Likes
replied 11 years ago

Using routes for conditional statements

I'd be using it in my view. I want to use the same view in a couple of different routes, but need to...

0 Likes
replied 11 years ago

Sorting eager loaded results

Ah, ok. I see what I was doing wrong. has_name, has_biography and has_role are hasOne relationships....

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.