laravel/laravel — pull request #813 by anaxamaxan (2012-06-13 23:25:00+00:00)
Title: Allow Model instance or id for first argument in Has_Many_And_Belongs_To::attach()

... and same for ::detach(). Also a typo fix for the docblock on attach().