Posted on 30th October 2009No Responses
Creating nice diagrams of your Rails apps

Using the , you can create diagrams (look it up here) for your applications. I do this quite often to get the whole or scheme more transparent and show off the complexity of the app to the customer (yes yes, it’s so damn impressive ^^).

How to get it:

sudo gem install json

Then use to create a (I go for a here):

raiload -o doc/mymodels. -M

Or create a of your controllers with…

-o doc/mycontrollers. -a -C

Then, use to create a graphic out of it:

-Tjpg -o doc/mymodels.jpg doc/mymodels.

You can also use -Tsvg (for vector graphics) or -Tpng etc.

Share this on:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • Google Bookmarks
  • Add to favorites
  • email
  • MisterWong
  • MySpace
  • Reddit
  • RSS
  • Yahoo! Bookmarks

Related posts

Comments
Leave a Response
XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <img src="">