Yan Pritzker photographer, entrepreneur, software engineer, musician, skier

skwpspace is Yan Pritzker's home on the web

Blog :: Photography :: About Me

TwitterCounter for @skwp

Get the news feed
Get updates by email
Follow me on twitter

hello, i'm yan

I am a photographer, entrepreneur, software engineer, guitarist, and telemark skier

This blog is about startups, blogging, Ruby On Rails, virtualization and cloud computing, photography, customer service, marketing, ux and design, git, and lots more.

planypus

I'm the founder of Planypus, the place to share your plans!

cohesiveft

Virtualize your application for download or deploy to the cloud in minutes!

flickr

skaterkristinaice flowstampededudeson the hillblack sand beach, icelandblack sand beach, iceland

Top Posts

Archives

Contact

Reach me at yan at pritzker.ws

Posted
2 February 2007 @ 5pm

Tagged
thoughts

Visualize your rails models and controllers

I don’t know why I didn’t run into this hidden gem before. There’s a plugin called RAV which generates a graph image of your rails models and controllers structure using graphviz, and it’s really easy to use! Just follow these steps:

# install the plugin
script/plugin install svn://rubyforge.org/var/svn/rav/

#install graphviz, for ox you do:

http://www.pixelglow.com/graphviz/download/

ln -s /Applications/Graphviz.app/Contents/MacOS/dot /usr/local/bin/dot

#in your rails root:
rake visualize

You’ll get a generated image (there are options to do any output format that graphviz supports but the default is png) in doc/diagram.png. Enjoy!


No Comments Yet


There are no comments yet. You could be the first!

Leave a Comment