laravel/laravel — pull request #1826 by Schniz (2013-03-28 22:03:31+00:00)
Title: Eloquent: updating the primary key fails

When you change the value of the primary key and you push the model, the WHERE in the UPDATE statement searching for the new value instead of the old one.