1. 30 4月, 2012 1 次提交
  2. 27 4月, 2012 3 次提交
  3. 26 4月, 2012 2 次提交
  4. 11 4月, 2012 1 次提交
  5. 04 4月, 2012 1 次提交
  6. 03 4月, 2012 1 次提交
    • B
      Removes caching from ActiveRecord::Core::ClassMethods#relation · 68677ffb
      Benedikt Deicke 提交于
      The #relation method gets called in four places and the return value was instantly cloned in three of them. The only place that did not clone was ActiveRecord::Scoping::Default::ClassMethods#unscoped. This introduced a bug described in #5667 and should really clone the relation, too. This means all four places would clone the relation, so it doesn't make a lot of sense caching it in the first place.
      
      The four places with calls to relations are:
      
      activerecord/lib/active_record/scoping/default.rb:110:in `block in build_default_scope'"
      activerecord/lib/active_record/scoping/default.rb:42:in `unscoped'"
      activerecord/lib/active_record/scoping/named.rb:38:in `scoped'"
      activerecord/lib/active_record/scoping/named.rb:52:in `scope_attributes'"
      68677ffb
  7. 30 3月, 2012 1 次提交
  8. 18 3月, 2012 1 次提交
  9. 17 3月, 2012 1 次提交
  10. 16 3月, 2012 2 次提交
  11. 14 3月, 2012 1 次提交
  12. 12 3月, 2012 1 次提交
  13. 12 2月, 2012 1 次提交
  14. 11 2月, 2012 1 次提交
  15. 01 2月, 2012 1 次提交
  16. 17 1月, 2012 6 次提交
  17. 29 12月, 2011 1 次提交
  18. 06 11月, 2011 1 次提交
  19. 14 9月, 2011 1 次提交
  20. 10 9月, 2011 1 次提交
  21. 04 9月, 2011 1 次提交
  22. 01 9月, 2011 1 次提交
  23. 31 8月, 2011 2 次提交
  24. 21 8月, 2011 2 次提交
  25. 16 8月, 2011 2 次提交
  26. 14 8月, 2011 3 次提交