Skip to content
cesarediaz edited this page Sep 13, 2010 · 2 revisions

If you would like to know how is this program organized about its code in models and controllers you can generate your own diagram picture doing the next steps:



your_user@your_machine:~/     git clone git://github.com/cesarediaz/inventory.git
your_user@your_machine:~/     cd inventory/
your_user@your_machine:~/     rake doc:diagrams


and this will generate two imagen files under the ‘doc’ application folder, below there are an example how it will looks like



your_user@your_machine:~/     cd inventory/
your_user@your_machine:~/     ls -l doc
total 104
-rw-r--r-- 1  your_user your_user 49819 jun 26 19:32 controllers.svg
-rw-r--r-- 1  your_user your_user 44581 jun 26 19:32 models.svg


For more explanation about how this work take a look at "this ":http://railroad.rubyforge.org/ webpage

Clone this wiki locally