Flowdock
method

reverse_order

Importance_1
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.