Thursday, January 14, 2010

Model diagram generator plugin

After my one of the last posts Shaping models in Rails, I got a chance to convert that piece of code into a Rails plugin.

It has been rolled out to Github.

Github Repository :- http://github.com/NiranjanSarade/model-diagram-generator

Installation :-
ruby script/plugin install http://github.com/NiranjanSarade/model-diagram-generator.git/

Usage :-
rake model_diagram:generate
It will generate diagramatic representation of the model relationship present in your rails app. The model_relationship.dot and model_relationship.png files will be generated at the application root folder.

It was a nice feeling with contributing something to the open source community !

1 comment:

  1. Good job Niranjan. Congratulations on putting this on GitHub!

    --alex

    ReplyDelete