mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
92641efeec
User.order("name asc").order("created_at desc") # SELECT * FROM users ORDER BY created_at desc, name asc This also affects order defined in `default_scope` or any kind of associations. |
||
---|---|---|
.. | ||
assets | ||
code/getting_started | ||
rails_guides | ||
source | ||
rails_guides.rb | ||
Rakefile | ||
w3c_validator.rb |