1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/guides
Bogdan Gusiev 92641efeec AR::Relation#order: make new order prepend old one
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.
2012-07-31 10:24:18 +03:00
..
assets Merge pull request #6383 from oscardelben/add_oscardelben_to_authors 2012-05-23 10:49:06 -07:00
code/getting_started Remove :confirm in favor of :data => { :confirm => 'Text' } option 2012-07-18 10:32:17 -03:00
rails_guides [guides] fix reference to railties directory, guides are no longer there 2012-05-28 16:21:25 -05:00
source AR::Relation#order: make new order prepend old one 2012-07-31 10:24:18 +03:00
rails_guides.rb Remove remaining require 'rubygems' 2012-05-13 13:33:20 -03:00
Rakefile [guides] guides:generate:kindle is the new interface to generate .mobi file instead of using KINDLE=1 2012-05-28 16:20:10 -05:00
w3c_validator.rb Remove remaining require 'rubygems' 2012-05-13 13:33:20 -03:00