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

fixing bug with associations #574

Merged
merged 1 commit into from
Dec 25, 2020
Merged

fixing bug with associations #574

merged 1 commit into from
Dec 25, 2020

Conversation

jwoertink
Copy link
Member

Fixes #571

Turns out this affected all associations. We never caught this because the tests only ever setup a single record. Since we were calling type, the associations never matched because Tag would never equal :belongs_to.

Copy link
Member

@matthewmcgarvey matthewmcgarvey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch 👍

@jwoertink jwoertink merged commit c120c64 into master Dec 25, 2020
@jwoertink jwoertink deleted the bugs/571 branch December 25, 2020 20:21
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.

Has_many association too greedy
2 participants