Skip to content

Preserve user supplied JOIN order.#1

Merged
akhiln merged 1 commit intoakhiln:masterfrom
thedarkone:join-order-fix
Jul 16, 2014
Merged

Preserve user supplied JOIN order.#1
akhiln merged 1 commit intoakhiln:masterfrom
thedarkone:join-order-fix

Conversation

@akhiln
Copy link
Copy Markdown
Owner

@akhiln akhiln commented Jul 16, 2014

JOIN clauses order is important, previous implementation always
put string or arel joins at then end (after auto-generated
association joins).

Fixes rails#12953, rails#15488.

JOIN clauses order is important, previous implementation always
put string or arel joins at then end (after auto-generated
association joins).

Fixes rails#12953, rails#15488.
akhiln added a commit that referenced this pull request Jul 16, 2014
Preserve user supplied JOIN order.
@akhiln akhiln merged commit 33a8398 into akhiln:master Jul 16, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Strange ActiveRecord behaviour when using merge and joins

2 participants