1. 15 3月, 2012 1 次提交
  2. 14 3月, 2012 1 次提交
  3. 04 3月, 2012 1 次提交
    • C
      Initialize @stale_state to nil in association · 9b9357b2
      Carlos Antonio da Silva 提交于
      This apparently fix the warning related to @new_record variable not
      being initialized in AR's test suit, when an association is built and
      the object is marshalled/loaded.
      
      See these tests in AR's base_test.rb:
      
      test_marshalling_with_associations
      test_marshalling_new_record_round_trip_with_associations
      
      Closes #3720.
      9b9357b2
  4. 14 2月, 2012 1 次提交
  5. 08 2月, 2012 4 次提交
  6. 07 2月, 2012 1 次提交
  7. 29 1月, 2012 1 次提交
  8. 26 1月, 2012 1 次提交
  9. 21 1月, 2012 2 次提交
  10. 20 1月, 2012 1 次提交
  11. 12 1月, 2012 1 次提交
  12. 07 1月, 2012 1 次提交
  13. 05 1月, 2012 2 次提交
  14. 29 12月, 2011 3 次提交
    • J
      Delete some stray lines · 88d2af5b
      Jon Leighton 提交于
      88d2af5b
    • J
      Support establishing connection on ActiveRecord::Model. · dae7b654
      Jon Leighton 提交于
      This is the 'top level' connection, inherited by any models that include
      ActiveRecord::Model or inherit from ActiveRecord::Base.
      dae7b654
    • J
      Support configuration on ActiveRecord::Model. · 93c1f11c
      Jon Leighton 提交于
      The problem: We need to be able to specify configuration in a way that
      can be inherited to models that include ActiveRecord::Model. So it is
      no longer sufficient to put 'top level' config on ActiveRecord::Base,
      but we do want configuration specified on ActiveRecord::Base and
      descendants to continue to work.
      
      So we need something like class_attribute that can be defined on a
      module but that is inherited when ActiveRecord::Model is included.
      
      The solution: added ActiveModel::Configuration module which provides a
      config_attribute macro. It's a bit specific hence I am not putting this
      in Active Support or making it a 'public API' at present.
      93c1f11c
  15. 24 12月, 2011 6 次提交