1. 24 5月, 2012 1 次提交
    • V
      Revert "Remove blank trailing comments" · 1ad0b378
      Vijay Dev 提交于
      This reverts commit fa6d921e.
      
      Reason: Not a fan of such massive changes. We usually close such changes
      if made to Rails master as a pull request. Following the same principle
      here and reverting.
      
      [ci skip]
      1ad0b378
  2. 20 5月, 2012 1 次提交
    • H
      Remove blank trailing comments · fa6d921e
      Henrik Hodne 提交于
      For future reference, this is the regex I used: ^\s*#\s*\n(?!\s*#). Replace
      with the first match, and voilà! Note that the regex matches a little bit too
      much, so you probably want to `git add -i .` and go through every single diff
      to check if it actually should be changed.
      fa6d921e
  3. 17 5月, 2012 1 次提交
  4. 12 5月, 2012 1 次提交
    • J
      CollectionProxy < Relation · c86a32d7
      Jon Leighton 提交于
      This helps bring the interfaces of CollectionProxy and Relation closer
      together, and reduces the delegation backflips we need to perform.
      
      For example, first_or_create is defined thus:
      
      class ActiveRecord::Relation
        def first_or_create(...)
          first || create(...)
        end
      end
      
      If CollectionProxy < Relation, then post.comments.first_or_create will
      hit the association's #create method which will actually add the new record
      to the association, just as post.comments.create would.
      
      With the previous delegation, post.comments.first_or_create expands to
      post.comments.scoped.first_or_create, where post.comments.scoped has no
      knowledge of the association.
      c86a32d7
  5. 13 4月, 2012 5 次提交
  6. 12 3月, 2012 1 次提交
  7. 07 2月, 2012 1 次提交
  8. 06 2月, 2012 1 次提交
  9. 02 2月, 2012 2 次提交
  10. 01 2月, 2012 1 次提交
  11. 20 1月, 2012 1 次提交
  12. 17 1月, 2012 4 次提交
  13. 10 1月, 2012 1 次提交
  14. 04 1月, 2012 1 次提交
  15. 06 11月, 2011 1 次提交
  16. 20 9月, 2011 1 次提交
  17. 18 9月, 2011 1 次提交
  18. 15 9月, 2011 1 次提交
  19. 14 9月, 2011 1 次提交
  20. 04 9月, 2011 1 次提交
  21. 01 9月, 2011 1 次提交
  22. 29 8月, 2011 1 次提交
  23. 14 8月, 2011 4 次提交
  24. 28 7月, 2011 2 次提交
  25. 26 7月, 2011 2 次提交
  26. 24 7月, 2011 1 次提交
  27. 09 7月, 2011 1 次提交