Skip to content

Fix model proxy naming with inheritance #1

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

Closed
wants to merge 2 commits into from

Conversation

tmandke
Copy link

@tmandke tmandke commented Jul 3, 2019

Closes elastic#717 & Closes elastic#585

extend ActiveModel::Naming
context 'without using proxy' do
before(:all) do
TestBase = Class.new do
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Had to change the way the classes were defined so that they can be redefined with different base classes in the other context.

@hibachrach
Copy link

I think this looks good!

@tmandke tmandke closed this Jul 3, 2019
@tmandke tmandke deleted the fix-model-proxy-naming-with-inheritance branch July 8, 2019 16:29
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