1. 15 2月, 2011 1 次提交
  2. 13 2月, 2011 1 次提交
  3. 04 1月, 2011 4 次提交
  4. 17 12月, 2010 1 次提交
  5. 16 12月, 2010 1 次提交
  6. 24 11月, 2010 1 次提交
  7. 20 11月, 2010 2 次提交
  8. 19 11月, 2010 1 次提交
  9. 18 11月, 2010 1 次提交
  10. 16 11月, 2010 3 次提交
  11. 09 11月, 2010 1 次提交
  12. 07 11月, 2010 1 次提交
  13. 06 11月, 2010 1 次提交
  14. 31 10月, 2010 1 次提交
  15. 27 10月, 2010 1 次提交
  16. 23 10月, 2010 1 次提交
  17. 11 10月, 2010 1 次提交
  18. 28 9月, 2010 1 次提交
  19. 19 9月, 2010 1 次提交
  20. 16 9月, 2010 1 次提交
  21. 10 9月, 2010 2 次提交
  22. 08 9月, 2010 1 次提交
  23. 05 9月, 2010 1 次提交
    • N
      order should always be concatenated. · 91fec0d2
      Neeraj Singh 提交于
      order that is declared first has highest priority in all cases.
      
      Here are some examples.
      
      Car.order('name desc').find(:first, :order => 'id').name
      
      Car.named_scope_with_order.named_scope_with_another_order
      
      Car.order('id DESC').scoping do
        Car.find(:first, :order => 'id asc')
      end
      
      No special treatment to with_scope or scoping.
      
      Also note that if default_scope declares an order then the order
      declared in default_scope has the highest priority unless
      with_exclusive_scope is used.
      Signed-off-by: NSantiago Pastorino <santiago@wyeworks.com>
      91fec0d2
  24. 01 9月, 2010 1 次提交
  25. 17 8月, 2010 1 次提交
  26. 14 8月, 2010 3 次提交
  27. 13 8月, 2010 1 次提交
  28. 07 8月, 2010 2 次提交
  29. 31 7月, 2010 1 次提交
  30. 22 7月, 2010 1 次提交