Visualize your models

The “Visualize Models” plugin By Nils Franzen will generate .png images from the Rails model files :

(click to enlarge) :

This plugin depends on GraphViz, which you can find here.

From your rails application root, run :

ruby script/plugin install
svn://rubyforge.org//var/svn/visualizemodels/visualize_models
rake visualize_models

You’ll then find your .png images in the “doc” directory.

This entry was posted in Ruby on Rails and tagged , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>