1. 24 11月, 2010 3 次提交
  2. 17 11月, 2010 1 次提交
  3. 16 11月, 2010 1 次提交
  4. 09 11月, 2010 1 次提交
  5. 02 11月, 2010 1 次提交
  6. 21 10月, 2010 2 次提交
  7. 16 10月, 2010 2 次提交
  8. 28 9月, 2010 2 次提交
  9. 23 9月, 2010 2 次提交
  10. 21 9月, 2010 1 次提交
  11. 08 9月, 2010 1 次提交
  12. 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
  13. 02 9月, 2010 1 次提交
  14. 20 8月, 2010 1 次提交
  15. 15 8月, 2010 1 次提交
  16. 03 8月, 2010 2 次提交
  17. 02 8月, 2010 1 次提交
  18. 19 7月, 2010 2 次提交
  19. 16 7月, 2010 1 次提交
  20. 15 7月, 2010 2 次提交
  21. 14 7月, 2010 1 次提交
  22. 09 7月, 2010 6 次提交
  23. 29 6月, 2010 1 次提交
  24. 23 6月, 2010 2 次提交
  25. 20 6月, 2010 1 次提交