• Adam Hegyi's avatar
    More consistent deployment API ordering · 2b323f6b
    Adam Hegyi authored
    - Add tie-breaker `id desc` sorting to deployments API.
    - Preload association to prevent n+1 queries.
    - Turn `created_at` sorting to `id` sorting.
    - Add index to speed up `updated_at` sorting.
    - Add index to speed up `id` sorting.
    2b323f6b
deployments_spec.rb 10.3 KB