Skip to content

Conversation

@rchekaluk
Copy link

Fixes #56

This is difficult to provide a RSpec test for (I tried), but the fix does work and permits running annotate against models that contain multiple enumerated_attributes.

This fix was inspired by https://github.com/jeffp/meta_programming/blob/master/lib/meta_programming/object.rb#L42

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.

Multiple enum_attr's and annotate gem

1 participant