When chaining calls to order on an ActiveRecord association, the result is a composition of the two order calls. I believe this breaks the principle of least surprise, since calling sort/order on a collection never behaves like this anywhere else (for example with Array#sort). Any subsequent calls to order should re-order the collection in the way you specify. I can't imagine any situations where you would chain calls to order and want/expect this behaviour, but I can think of many situations where it can lead to unexpected results (for example when using default_scope for ordering). I propose that reorder be renamed to order, and order be renamed to append_order or something similar. Thoughts? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscribe@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/d/optout.