1. 22 9月, 2012 1 次提交
  2. 01 9月, 2012 1 次提交
  3. 31 8月, 2012 1 次提交
    • J
      Key the attributes hash with symbols · 86c3dfbd
      Jon Leighton 提交于
      This is a performance/GC optimisation.
      
      In theory, this could be optimised by the implementation (last time I
      checked, this would have no effect on JRuby). But in practise, this make
      attribute access faster.
      86c3dfbd
  4. 25 8月, 2012 1 次提交
  5. 16 6月, 2012 1 次提交
  6. 30 3月, 2012 2 次提交
  7. 28 3月, 2012 2 次提交
  8. 10 2月, 2012 2 次提交
  9. 09 2月, 2012 4 次提交
  10. 08 2月, 2012 5 次提交
  11. 26 1月, 2012 2 次提交
  12. 21 1月, 2012 1 次提交
  13. 20 1月, 2012 1 次提交
  14. 29 12月, 2011 1 次提交
    • 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 3 次提交
  16. 23 12月, 2011 1 次提交
  17. 14 12月, 2011 2 次提交
  18. 09 12月, 2011 1 次提交
  19. 02 12月, 2011 8 次提交