Skip to content

Conversation

williamshupe
Copy link

This commit fixes an issue where a database proxy tries
to access the type_caster on the aliased arel table. Since
this is just an alias table of the current model, it makes
sense to use the current model's type_caster for the alias.

This commit fixes an issue where a database proxy tries
to access the type_caster on the aliased arel table. Since
this is just an alias table of the current model, it makes
sense to use the current model's type_caster for the alias.
@williamshupe
Copy link
Author

This didn't include tests as the tests that came to mind were a bit heavy for what already exists in the code. I'm open to suggestions if tests are needed.

@jmarianer jmarianer merged commit 94477da into get-bridge:master Jun 27, 2019
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