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

fetching STI model via scope and finder will not find same model #194

Closed
catmando opened this issue Jun 7, 2019 · 0 comments
Closed

fetching STI model via scope and finder will not find same model #194

catmando opened this issue Jun 7, 2019 · 0 comments
Labels
bug Something isn't working
Milestone

Comments

@catmando
Copy link
Contributor

catmando commented Jun 7, 2019

if you do a SomeSubClass.find(x) and there has not been a previous access to SomeSubClass.all then the SomeSubClass.find(x) will not execute the find on the base class as it should.

This results in a bogus backing_record being created.

@catmando catmando added the bug Something isn't working label Jun 7, 2019
@catmando catmando added this to the alpha1.5 milestone Jun 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant