Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialKosta Kuts
15,894 PointsDifferent in Laravel 5
Hi there! I can't make this step second day! In new Laravel there is no more 'Model' Binding, and "it's Bad" (c) Mr Mackey The same code, in case of update name of Item, gives an error: "SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry" May be someone have had the same issue; or if you more experienced just point me an article with alternative method that will work in Laravel 5.
Kosta Kuts
15,894 PointsIt was like I assigns the same value. That is why this error appeared
1 Answer
Van Tran Huu
16,694 PointsThis course seems to be outdated, maybe Treehouse want to update this to Laravel 5 :)
Kosta Kuts
15,894 PointsKosta Kuts
15,894 PointsI find an issue: It was me! I confused а variable name in TodoListController.php