laravel/docs — pull request #267 by garygreen (2013-05-23 20:14:02+00:00)
Title: Added example when using Sync and setting pivot data attributes

Currently the documentation only mentions you can use an array of ids when using `sync`, however you can use a keyed-array of ids with an array of attributes to set on the pivot, similar to `attach`.