MIF_E31222691/laravel/database/eloquent
RK 258169ea00 [#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.
2012-09-24 09:58:20 -04:00
..
relationships Merge pull request #1143 from franzliedke/patch-38 2012-09-01 18:02:41 -07:00
model.php [#1261] get_key now pulls from $original instead 2012-09-24 09:58:20 -04:00
pivot.php Fixing a bug with saving data to pivot table 2012-08-09 22:10:49 -05:00
query.php fix nested queries. 2012-08-17 09:02:32 -05:00