Please sign in to comment.
Lookup the class at runtime, not when the association is built
Trying to lookup the parent class when the association is being built runs the risk of generating uninitialized constant errors because classes haven't been fully defined yet. To work around this we look up the class at runtime through the `association` method. Fixes #10197.
- Loading branch information...
Showing with 2 additions and 2 deletions.