Return to 10to1.be

Under the Hat


Rails model visualization

29 Oct 2009

If you’re a developer, you know how it goes. At the beginning of a project, you draw some UML sketches to get you going. There’s a nice tool to do that. As your project goes on, and your code grows, these diagrams don’t get updated too often. After all, every piece of knowledge must have a single, unambiguous, authoritative representation within a system. And for a class model, that representation is the code.

But at some points during your development, you have to communicate with some stakeholders. They want to know what your class model looks like. So you have to provide them with a drawing. Until recently, we went through the trouble of creating these diagrams manually. But those days are over: we found yUMLmeRails

To get yourself a diagram, follow these steps:

cd your_project
script/plugin install \
	git://github.com/nelsonsilva/yUMLmeRails.git
rake yUMLmeRails:download

Your diagram will be saved in your_project/diagrams.

Easy. Nice. Handy. Did I mention ‘pie’ ?

blog comments powered by Disqus

About this blog

You’re reading Under the Hat, a weblog written by 10to1.

Who’s got the mic?