File: //usr/local/rvm/gems/ruby-3.0.2/doc/activerecord-6.1.4.1/ri/ActiveRecord/QueryMethods/reorder-i.ri
U:RDoc::AnyMethod[iI"reorder:ETI"'ActiveRecord::QueryMethods#reorder;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph; [I"RReplaces any existing order defined on the relation with the specified order.;To:RDoc::Markup::BlankLine o:RDoc::Markup::Verbatim; [I"VUser.order('email DESC').reorder('id ASC') # generated SQL has 'ORDER BY id ASC'
;T:@format0o;
; [I"RSubsequent calls to order on the same relation will be appended. For example:;T@o;; [I"BUser.order('email DESC').reorder('id ASC').order('name ASC')
;T;
0o;
; [I"8generates a query with 'ORDER BY id ASC, name ASC'.;T:
@fileI"0lib/active_record/relation/query_methods.rb;T:0@omit_headings_from_table_of_contents_below000[ I"(*args);T@FI"QueryMethods;TcRDoc::NormalModule00