laravel/laravel — pull request #1142 by HendrikJan (2012-08-25 20:20:02+00:00)
Title: Improved code examples for inserting related models

As per this forum thread:
http://forums.laravel.com/viewtopic.php?id=2234

When inserting related models, you have to re-assign the inserted model to get the correct [b]id[/b] and [b]parent id[/b]