Example output

Rails Application Visualizer

RubyForge Project Page

Deprecation Warning

Unfortunately RAV hasn't been updated since the days of Rails 1.1. If you're looking for a way to visualize your Rails apps, you would do well to investigate Railroad, a more up-to-date project with similar goals.

Quickstart

  1. Install the Rails Application Visualizer (RAV) plugin:
    (cd vendor/plugins && svn co svn://rubyforge.org/var/svn/rav/stable rav)
  2. Make sure you have Graphviz installed.
  3. Chuckle and execute rake visualize!

Options

Usage: rake visualize [FILENAME=filename] [MODELS=no] [CONTROLLERS=no]

FILENAME specifies where you want the diagram. Default is diagram.png in RAILS_ROOT. RAV guesses the format to use from the filename. You may use any format that Graphviz supports, including PNG, SVG, GIF, JPG, PS and even (no joke) VRML.

By default the diagram includes both models and controllers, but you may disable either with MODELS=no and CONTROLLERS=no.