At this point I have two files in my migration folder, one to create the table with its columns, and...
This isn't working, and maybe it's not possible, or maybe I'm close? $allcars = $user->cars()...
In my controller I'm trying to delete a record from a table and the only message I get back to the c...
On the page that lists the user's cars, each list item has the following link: {{URL::to("cars/...
In my Car class I have public function user() { return $this->belongsTo('User'); } public fu...
jarektkaczyk, Thank you for the code. I got it to work by changing the $parentKeyName line otherwise...
I'm still slowly working through this. Current error is: SQLSTATE[42000]: Syntax error or access vi...
I use DebugBar to monitor the SQL queries and just discovered that saveMany() does a separate INSERT...
My code above worked just by fixing my $parts_array variable just like as jlaswell recommended. All...
I'm still stuck on this. This is what I have so far. I get the car and then... $car_copy = $car-&g...
The Laravel portal for problem solving, knowledge sharing and community building.