Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rearrange AR relation declarations in order.rb #1740

Merged
merged 1 commit into from
Feb 27, 2017

Conversation

jhawthorn
Copy link
Contributor

In Rails 5.1, associations need to be declared before :through associations referring to them. This caused issues

At the same time I tried to group the associations into somewhat related groups to hopefully make reading them easier.

In Rails 5.1, associations need to be declared before :through
associations referring to them. This caused issues

At the same time I tried to group the associations into somewhat related
groups to hopefully make reading them easier.
@jhawthorn jhawthorn merged commit 3bc1f7e into solidusio:master Feb 27, 2017
@jhawthorn jhawthorn deleted the rearrange_order_associations branch February 27, 2017 18:33
@jhawthorn jhawthorn added this to the Rails 5.1 milestone Apr 26, 2017
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.

2 participants