Flowdock
method

reverse_order

Importance_1
Ruby on Rails latest stable (v4.0.2) - 0 notes - Class: ActiveRecord::QueryMethods
reverse_order() public

Reverse the existing order clause on the relation.

User.order('name ASC').reverse_order # generated SQL has 'ORDER BY name DESC'
Show source
Register or log in to add new notes.