Closed anithri closed 12 years ago
Thanks for reporting this issue :)
Indeed I missed that case when adding automatic belongs to descriptions. I think it may be cleaner to display just association name instead of related class, and this should also fix the problem with polymorphic associations. I'm at the euruko conference right now so I just pushed this quick change and I'll try to push new gem version as soon as I get back or have some time (along with a bit of code cleanup), as for now, using master should work for you.
I'm keeping this issue open because tests are missing for polymorphic association case.
Installed from master, and it fixed the missing annotations right up. Thanks for the quick response!
I got an error when it attempted to annotate a model used by other models as a polymorphic association
For a model that looks like
With a schema of:
Love everything else about this gem though. Thanks!