rails/rails — pull request #7176 by bogdan (2012-07-27 08:39:19+00:00)
Title: AR::Relation#order: make new order prepend old one.

Original PR and discussion #2008.

``` ruby
User.order("name asc").order("name desc")
# SELECT * FROM users ORDER BY name desc, name asc
```

This also affects order defined in `default_scope` or any kind of associations.

cc @tenderlove