tech-angels / annotator

Keep model fields commented in your rails apps.
MIT License
64 stars 5 forks source link

Re-annotating belongs_to assosiations #7

Closed vanyak closed 12 years ago

vanyak commented 12 years ago

Recently I've created a project from scratch and after spending some time on modeling I've created a baseline migration and used annotator to annotate models. At this stage they did not have any associations specified (belongs_to, has_many..) After running annotator second time all descriptions of belongs_to id's remained unchanged. So I thought it would be useful update any changed belongs_to associations rather then delete annotations or manually change them.

comboy commented 12 years ago

I like that idea. I just left some small comments and I'll be happy to merge it. Thanks a lot!

vanyak commented 12 years ago

I've updated the request. Thanks for your comments!

comboy commented 12 years ago

Thanks for your contribution! :)