Skip to content
This repository has been archived by the owner on Jul 16, 2023. It is now read-only.

Save safely with unique rules

Compare
Choose a tag to compare
@igorsantos07 igorsantos07 released this 30 Nov 04:13
· 17 commits to master since this release

From this version on, the save() method will always fix the unique rules (include the model ID on them) before validating.

Marking this version as stable since I'm using it for some weeks on Laravel 5 and found no upgrade issue.