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
..
2012-09-04 16:36:17 +03:00
2012-08-03 18:17:48 +03:00
2012-09-10 03:37:24 -07:00
2012-09-24 09:58:20 -04:00
2012-09-12 14:42:20 +03:00
2012-09-06 04:42:58 +05:30
2012-09-01 17:26:35 -07:00
2012-08-03 18:09:37 +03:00
2012-09-10 11:25:08 -07:00
2012-05-24 11:50:48 +02:00
2012-04-10 22:36:20 -05:00
2012-05-02 16:52:55 -05:00
2012-07-27 11:29:59 +00:00
2012-09-18 17:22:45 +03:00
2012-09-01 17:26:35 -07:00
2012-05-02 16:52:55 -05:00
2012-06-13 11:19:20 -04:00
2012-07-31 16:55:02 +01:00
2012-08-13 12:17:35 -07:00
2012-04-07 14:09:22 -05:00
2012-07-31 09:55:45 +02:00
2012-09-01 21:48:37 -05:00
2012-08-03 18:17:48 +03:00
2012-07-27 11:29:59 +00:00
2012-03-23 22:54:09 -05:00
2012-09-01 17:35:34 -07:00
2012-02-23 14:02:59 -06:00
2012-08-03 18:17:48 +03:00
2012-09-14 22:21:35 +03:00
2012-09-05 16:07:20 -04:00
2012-08-09 20:44:15 -07:00
2012-07-27 11:29:59 +00:00
2012-08-20 10:46:23 -05:00
2012-08-03 18:17:48 +03:00
2012-07-20 22:20:37 +08:00
2012-05-30 08:41:03 -05:00
2012-09-11 07:48:01 +05:30
2012-08-03 18:17:48 +03:00
2012-08-13 12:17:35 -07:00
2012-07-27 11:29:59 +00:00
2012-08-03 18:17:48 +03:00
2012-08-13 12:16:08 -07:00
2012-04-10 11:37:38 -05:00
2012-06-25 13:11:54 -04:00
2012-06-13 10:50:50 -07:00
2012-06-13 11:19:20 -04:00
2012-09-01 22:07:01 -05:00
2012-08-12 12:50:10 -07:00
2012-08-03 18:17:48 +03:00