1. 10 6月, 2008 1 次提交
  2. 01 6月, 2008 3 次提交
    • R
      Add ActiveRecord::Base.sti_name that checks... · 72483c0d
      rick 提交于
      Add ActiveRecord::Base.sti_name that checks ActiveRecord::Base#store_full_sti_class? and returns either the full or demodulized name. [rick] [#114 state:resolved]
      72483c0d
    • T
      belongs_to polymorphic association assignments update the foreign_id and... · 0580b31b
      Tim Harper 提交于
      belongs_to polymorphic association assignments update the foreign_id and foreign_type fields regardless of whether the record being assigned is new or not.
      
      fixes the following scenarios:
      * I have validates_inclusion_of on the type field for a polymorphic belongs_to association.  I assign a new record to the model's polymorphic relationship of the proper type.  validation fails because the type field has not been updated.
      
      * I replace the value for a ppolymorphic association to a new record of another class.  The type field still says its the previous class, and the id field points to the previous record as well.
      
      [#191 state:closed]
      0580b31b
    • T
      belongs_to polymorphic association assignments update the foreign_id and... · aef47dcf
      Tim Harper 提交于
      belongs_to polymorphic association assignments update the foreign_id and foreign_type fields regardless of whether the record being assigned is new or not.
      
      fixes the following scenarios:
      * I have validates_inclusion_of on the type field for a polymorphic belongs_to association.  I assign a new record to the model's polymorphic relationship of the proper type.  validation fails because the type field has not been updated.
      
      * I replace the value for a ppolymorphic association to a new record of another class.  The type field still says its the previous class, and the id field points to the previous record as well.
      aef47dcf
  3. 29 5月, 2008 1 次提交
  4. 25 5月, 2008 1 次提交
  5. 24 5月, 2008 2 次提交
  6. 21 5月, 2008 1 次提交
  7. 20 5月, 2008 2 次提交
  8. 08 5月, 2008 1 次提交
  9. 02 5月, 2008 2 次提交
  10. 23 4月, 2008 2 次提交
  11. 06 4月, 2008 3 次提交
  12. 05 4月, 2008 2 次提交
  13. 04 4月, 2008 1 次提交
  14. 02 4月, 2008 1 次提交
  15. 29 3月, 2008 1 次提交
  16. 26 3月, 2008 1 次提交
  17. 24 3月, 2008 1 次提交
  18. 22 3月, 2008 2 次提交
  19. 07 3月, 2008 1 次提交
  20. 01 3月, 2008 1 次提交
  21. 28 2月, 2008 1 次提交
  22. 18 2月, 2008 1 次提交
  23. 16 2月, 2008 1 次提交
  24. 15 2月, 2008 1 次提交
  25. 14 2月, 2008 1 次提交
  26. 13 2月, 2008 1 次提交
  27. 03 2月, 2008 1 次提交
  28. 02 2月, 2008 1 次提交
  29. 27 1月, 2008 1 次提交
  30. 26 1月, 2008 1 次提交