Support the ongoing development of Laravel.io →

TomCawthorn

Joined 7 Aug 2014

Statistics

Threads 2
Replies 3
Solutions 0
Articles 0

Laravel 5.0 - validating uniqueness in HTTP Requests

Hi! In my app, I have a Signup Model. A signup belongs to a single club, and I want the name of that...

0 Likes
1 Replies

What's the the best way to scope todo lists and todo items to a user? (unsure of correct terminology!)

I'm not sure if there's a specific term for what I'm trying to do -I think it's referred to as "...

0 Likes
4 Replies
replied 9 years ago

Laravel 5.0 - validating uniqueness in HTTP Requests

Managed to fix for now with this: <?php 'name' => 'required|unique:signups,name,'. $this->...

0 Likes
replied 10 years ago

What's the the best way to scope todo lists and todo items to a user? (unsure of correct terminology!)

jarektkaczyk said: You need global scope for this, not the query scopes. That culttt rather not the...

0 Likes
replied 10 years ago

What's the the best way to scope todo lists and todo items to a user? (unsure of correct terminology!)

kpzani said: Why not scrap the user id in the route and pull it out of the Auth? Hey kpzani, thank...

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.