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

has_many :through broken #47

Open
felixbuenemann opened this issue Apr 4, 2016 · 1 comment
Open

has_many :through broken #47

felixbuenemann opened this issue Apr 4, 2016 · 1 comment
Labels

Comments

@felixbuenemann
Copy link
Collaborator

felixbuenemann commented Apr 4, 2016

Serializing a has_many :through relation is currently broken and results in invalid SQL due to bad column references.

postgres_ext-serializers handles these like a normal has_many relation, when instead it needs to lookup the through_reflection and join the underlying join table to be able to lookup the proper ids.

@felixbuenemann
Copy link
Collaborator Author

This likely also affects has_and_belongs_to_many, which is just a special case of has_many :through.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant