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

#dynamic_schema always returns the newest schema #61

Open
aploshay opened this issue May 25, 2021 · 0 comments
Open

#dynamic_schema always returns the newest schema #61

aploshay opened this issue May 25, 2021 · 0 comments

Comments

@aploshay
Copy link
Contributor

#dynamic_schema has this typo:
find_by_id(id: ...)
which should be either find_by(id: ...) or find_by_id(...); as written, it always returns nil, which means this methods always ignores a set dynamic_schema_id value and resorts to the fallback condition and looks up (or creates) the newest available schema.

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

No branches or pull requests

1 participant