1. 02 8月, 2013 2 次提交
  2. 01 8月, 2013 4 次提交
  3. 03 7月, 2013 1 次提交
  4. 02 7月, 2013 2 次提交
  5. 15 5月, 2013 1 次提交
  6. 18 1月, 2013 1 次提交
    • J
      Undeprecate the :extend option · 5937bd02
      Jon Leighton 提交于
      Suggested by @dhh.
      
      It doesn't affect the generated SQL, so seems reasonable to continue to
      allow it as an association option.
      5937bd02
  7. 07 11月, 2012 1 次提交
  8. 11 8月, 2012 3 次提交
  9. 03 8月, 2012 1 次提交
  10. 02 8月, 2012 2 次提交
  11. 21 7月, 2012 1 次提交
  12. 14 7月, 2012 3 次提交
  13. 13 7月, 2012 1 次提交
  14. 06 1月, 2012 1 次提交
  15. 28 11月, 2011 1 次提交
    • J
      avoid warnings · 124c97fb
      Josh Susser 提交于
      This change uses Module.redefine_method as defined in ActiveSupport.
      Making Module.define_method public would be as clean in the code, and
      would also emit warnings when redefining an association. That is pretty
      messy given current tests, so I'm leaving it for someone else to decide
      what approach is better.
      124c97fb
  16. 16 11月, 2011 1 次提交
    • J
      association methods are now generated in modules · 7cba6a37
      Josh Susser 提交于
      Instead of generating association methods directly in the model
      class, they are generated in an anonymous module which
      is then included in the model class. There is one such module
      for each association. The only subtlety is that the
      generated_attributes_methods module (from ActiveModel) must
      be forced to be included before association methods are created
      so that attribute methods will not shadow association methods.
      7cba6a37
  17. 22 2月, 2011 1 次提交