1. 02 12月, 2011 3 次提交
  2. 01 12月, 2011 4 次提交
  3. 30 11月, 2011 9 次提交
  4. 29 11月, 2011 1 次提交
  5. 28 11月, 2011 1 次提交
  6. 20 11月, 2011 1 次提交
  7. 07 11月, 2011 1 次提交
  8. 06 11月, 2011 2 次提交
  9. 14 10月, 2011 1 次提交
  10. 13 10月, 2011 1 次提交
  11. 06 10月, 2011 1 次提交
  12. 05 10月, 2011 1 次提交
  13. 27 9月, 2011 1 次提交
  14. 14 9月, 2011 1 次提交
  15. 13 9月, 2011 1 次提交
    • J
      Always generate attribute methods on the base class. · eecfa84a
      Jon Leighton 提交于
      This fixes a situation I encountered where a subclass would cache the
      name of a generated attribute method in @_defined_class_methods. Then,
      when the superclass has it's attribute methods undefined, the subclass
      would always have to dispatch through method_missing, because the
      presence of the attribute in @_defined_class_methods would mean that it
      is never generated again, even if undefine_attribute_methods is called
      on the subclass.
      
      There various other confusing edge cases like this. STI classes share
      columns, so let's just keep all the attribute method generation state
      isolated to the base class.
      eecfa84a
  16. 31 8月, 2011 1 次提交
  17. 30 8月, 2011 1 次提交
  18. 24 8月, 2011 1 次提交
  19. 16 8月, 2011 1 次提交
    • J
      In 1efd8828, ConnectionAdapters was put under... · 0d5a6f68
      Jon Leighton 提交于
      In 1efd8828, ConnectionAdapters was put under eager_autoload. Due to the requires in that file, this caused ConnectionSpecification to be loaded, which references ActiveRecord::Base, which means the database connection is established. We do not want to connect to the database when Active Record is loaded, only when ActiveRecord::Base is first referenced by the user.
      0d5a6f68
  20. 14 8月, 2011 2 次提交
  21. 13 8月, 2011 2 次提交
  22. 09 8月, 2011 2 次提交
  23. 05 8月, 2011 1 次提交