Skip to content

ActiveRecord left joins out of order #32598

@ryan-plated

Description

@ryan-plated

Steps to reproduce

Combine sql left join with a arel join causes wrong order

https://gist.github.com/ryan-plated/cae50e8eceb621f8a76d41f2e6d1b5ec

Expected behavior

should keep order

Actual behavior

goes out of order

System configuration

Rails version: master

Ruby version: 2.5.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions