laravel/laravel — pull request #1276 by rk (2012-09-24 14:05:17+00:00)
Title: [#1261] get_key now pulls from $original instead

This is in reference to issue #1261, where Model->get_key() returns
the key from the $attributes instead of from the $original property.
This breaks the functionality of a model with a primary key that may
change, as the SQL generated will be something like:

UPDATE `model` SET `key` = 'new-key' WHERE `key` = 'new-key';

Which won't update the model in the database.