Skip to content

Conversation

kbrock
Copy link
Collaborator

@kbrock kbrock commented Aug 18, 2025

Solution proposed by @alexgriff

I got it close, but had to change from physician to providerable, and there is still one error.

This follows up with the 334 conversation and is a shout out for help.
If someone has ideas, please share and I can modify this.

Or if you want to use this as a base and extend, that is good, too. (I'm not territorial)

Fixes #334

kbrock added 2 commits August 13, 2025 17:29
We undefine these classes in the after {}
So in theory, they should not be a duplicate.

rspec often uses stub_const, but active record has issues with this since
they dig into the class.name and stuff
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.

Polymorphic has_many with a source_type raise an exception in ActiveHash 4.0

1 participant