Skip to content
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

Support STI and inheritance. #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

raskhadafi
Copy link

I used the gem on a STI class and got an error which would be solved with using on self.class => self.class.base_class.

It would be nice if you could do a patch release with this fix.

Thank you in advance!!

@raskhadafi raskhadafi changed the title Get the base class so that it works with sti models. Support STI and inheritance. Aug 2, 2017
@raskhadafi
Copy link
Author

Someone here in charge?

@amatsuda
Copy link
Owner

@raskhadafi Could you add a test that indicates what is "an error" please?

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