Skip to content

Supporting inherited model#23

Open
func09 wants to merge 1 commit intoamatsuda:masterfrom
func09:with_inherited_model
Open

Supporting inherited model#23
func09 wants to merge 1 commit intoamatsuda:masterfrom
func09:with_inherited_model

Conversation

@func09
Copy link

@func09 func09 commented May 24, 2016

Does not work Model#xxxxx! method when model is inherited like STI.
Event can’t find original method from self.class._enum_methods_module. 😢

I fixed to memorize original method before undef.

thanks

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.

1 participant