Created
August 5, 2008 17:30
-
-
Save mrb/4101 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
First, install graphviz - http://www.graphviz.org/Download..php -- | |
it is available for multiple platforms and is easy to install. | |
Secondly, run a: | |
1 gem install railroad | |
And Railroad and its dependencies are installed. Railroad is capable of visualizing model relationships, | |
controllers, and more. Check the railroad site at http://railroad.rubyforge.org/ for great examples | |
such as Typo visualized and other sick visualizations. Once you have these installed, | |
1 railroad -M -a | neato -Tpng > models.png | |
is all you need to produce a png of your models in a nice clean ERD style format. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment