1. 03 8月, 2012 1 次提交
  2. 02 8月, 2012 1 次提交
  3. 28 7月, 2012 1 次提交
  4. 19 5月, 2012 2 次提交
  5. 08 3月, 2012 1 次提交
  6. 15 12月, 2011 1 次提交
  7. 03 11月, 2011 3 次提交
  8. 01 6月, 2011 2 次提交
  9. 02 5月, 2011 1 次提交
  10. 22 2月, 2011 2 次提交
  11. 18 2月, 2011 2 次提交
  12. 14 2月, 2011 1 次提交
  13. 08 2月, 2011 5 次提交
  14. 30 1月, 2011 1 次提交
  15. 04 1月, 2011 2 次提交
    • J
      Let AssociationCollection#find use #scoped to do its finding. Note that I am... · 3103296a
      Jon Leighton 提交于
      Let AssociationCollection#find use #scoped to do its finding. Note that I am removing test_polymorphic_has_many_going_through_join_model_with_disabled_include, since this specifies different behaviour for an association than for a regular scope. It seems reasonable to expect scopes and association proxies to behave in roughly the same way rather than having subtle differences.
      3103296a
    • J
      Allow assignment on has_one :through where the owner is a new record [#5137 state:resolved] · a0be389d
      Jon Leighton 提交于
      This required changing the code to keep the association proxy for a belongs_to around, despite its target being nil. Which in turn required various changes to the way that stale target checking is handled, in order to support various edge cases (loaded target is nil then foreign key added, foreign key is changed and then changed back, etc). A side effect is that the code is nicer and more succinct.
      
      Note that I am removing test_no_unexpected_aliasing since that is basically checking that the proxy for a belongs_to *does* change, which is the exact opposite of the intention of this commit. Also adding various tests for various edge cases and related things.
      
      Phew, long commit message!
      a0be389d
  16. 01 1月, 2011 1 次提交
  17. 28 12月, 2010 1 次提交
  18. 27 12月, 2010 5 次提交
  19. 24 12月, 2010 1 次提交
  20. 21 12月, 2010 2 次提交
  21. 16 12月, 2010 3 次提交
  22. 15 12月, 2010 1 次提交