1. 24 Sep, 2012 1 commit
    • RK's avatar
      [#1261] get_key now pulls from $original instead · 258169ea
      RK authored
      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.
      258169ea
  2. 19 Sep, 2012 2 commits
  3. 18 Sep, 2012 1 commit
  4. 17 Sep, 2012 3 commits
  5. 15 Sep, 2012 1 commit
  6. 14 Sep, 2012 1 commit
  7. 12 Sep, 2012 2 commits
  8. 11 Sep, 2012 4 commits
  9. 10 Sep, 2012 7 commits
  10. 09 Sep, 2012 5 commits
  11. 08 Sep, 2012 3 commits
  12. 07 Sep, 2012 2 commits
  13. 05 Sep, 2012 3 commits
  14. 04 Sep, 2012 3 commits
  15. 03 Sep, 2012 2 commits