Rails class diagrams
Sometimes it’s hard to remember model attributes and relationships between them. Especially when you are new to the project, diagrams can be very helpful. I came across Railroad gem when I was searching for the right tool. It can generate controller diagrams with inheritance hierarchy and model diagrams with attributes and associations. Output is in the DOT language. Generated .dot files can by processed by Graphviz into .svg or .png format. If you have Omnigraffle you can import .dot files and edit them.
January 25th, 2010 at 10:32
Railsroad is pretty cool. I like RubyMine featrue called ‘Model Dependency Diagram’ wich produce nice picture of system. But it can be very slow for large systems. NetBeans have good plugin for UML witch great feature ‘Apply design pattern’.