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
STI not working correctly with subclasses across providers #14154
Comments
@durandom Cannot apply the following label because they are not recognized: embedded_ansible_madness |
please note, it's not a blocking problem yet, because I can ManageIQ::Providers::EmbeddedAnsible::AutomationManager::Authentication.new(:type => 'ManageIQ::Providers::EmbeddedAnsible::AutomationManager::NetworkCredential') but... |
Nope, the result is what I would expect :) |
@chrisarcand yeah, thanks. Now the difference makes sense... But still, why cant I do
Shouldnt the mixin check descendants?! |
Ah, damn, now that you say, I remember I stumbled across this when doing the Authentication / Credential stuff... sorry for stirring up stuff. |
But it should be true?!
Here Rails compares with
>
which breaks it.Whats even the difference between
subclasses
anddescendants
?My Problem is
Maybe this can help?
rails/rails#19531
@miq-bot assign @chrisarcand
@miq-bot add_label embedded_ansible_madness
cc @blomquisg
The text was updated successfully, but these errors were encountered: