Ruby Weekly is a weekly newsletter covering the latest Ruby and Rails news.

Quickly Produce A Graph of Your Rails Model Relationships

By Peter Cooper / August 7, 2006

Railsmodelgraph

Matt Biddulph demonstrates how to create a graph like the one above for your own Rails application's models using a 18 line Ruby script and a GraphViz compatible graphing program (such as OmniGraffle that comes with the Mac - I'm sure other operating systems will have an equivalent).

Comments

  1. Lee says:

    You might also want to take a look at the Rails Application Visualizer plugin: http://rav.rubyforge.org/

  2. Pingback: Hello, world!

Other Posts to Enjoy

Twitter Mentions