Haha duh!!
Not sure why I was convinced I had to pass an ID... I guess I needed some sleep. Thanks so much!!
I believe sync does exactly what you're doing: http://laravel.com/docs/4.2/eloquent#inserting-related-models
Using Sync To Attach Many To Many Models
You may also use the sync method to attach related models. The sync method accepts an array of IDs to place on the pivot table. After this operation is complete, only the IDs in the array will be on the intermediate table for the model:
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community