laravel/framework — pull request #603 by AndreasHeiberg (2013-03-17 13:26:55+00:00)
Title: Sync with attributes

So the idea here is that you would want to sync with attributes.

There is one problem that I know of with this implementation. As attach does not know how to handle updates of attributes the code is checking to see if the pivot already exists. This would mean that existing pivots would not get their attributes updated.