laravel/laravel — pull request #1493 by dohpaz42 (2012-12-04 18:42:17+00:00)
Title: Remove the 'id' dependency from Has_Many_And_Belongs_To

If a pivot table does not have an id field, then attempts to use $this->has_many_and_belongs_to() will fail.