This repository has been archived by the owner on Oct 6, 2024. It is now read-only.
v1.2.0
adds .order
to query chains
order
Set the expected order of things using .order
# app/controllers/some_controller.rb
Record.where(color: 'blue').order(:name, { created_at: :desc })
GET https://service.example.com/records?color=blue&order[name]=asc&order[created_at]=desc