As a developer no one likes to write a complete documentation for a project. Butsometime we have to give some document which explain at least our architectural design of project.

If in future anyone else work on same project then he can easily understand the overview and business logic before look into the code.We should draw a simple architectural design of our project models, controller and their relationship.

There is a gem which provides all necessary diagrams - add it into development group.

 gem 'railroady'

System Requirements

$ sudo apt-get install graphviz

run

$ rake diagram:all

It generates all diagrams contains structural design in the /doc directory.
This gem have lot of other options.
For more details [Click here][1] and [click here][2]

I have attached all diagrams of iTest App.
Thanks
[1]: http://railroady.prestonlee.com/
[2]: http://railroady.prestonlee.com/