public
Description: Get a dependency graph of your Ruby on Rails views and partials
Homepage:
Clone URL: git://github.com/msales/partial_dependencies.git
name age message
file LICENSE Wed Feb 11 03:33:52 -0800 2009 Initial version of the plugin [ujh]
file README Wed Feb 11 03:47:59 -0800 2009 Added description on how to use the plugin [ujh]
directory tasks/ Wed Mar 11 06:19:30 -0700 2009 Merge commit 'msales/master' [phinze]
README
Creates a dependency graph of all your views and partials. It parses all your views in app/views and extracts all 
"render :partial" calls. This information is used to generate a graph that shows which view uses which partial (which 
itself may use other partials).

Once the data has been extracted it is used to generate a graphical representation using GraphViz [1]. It is saved as 
RAILS_ROOT/partial_dependencies.png.

Installation
------------

Install via

script/plugin install git://github.com/msales/partial_dependencies

into your Rails application

Usage
-----

This plugin is basically just a rake task. If you run

rake partial_dependencies:generate_picture

it will generate a file called partial_dependencies.png (provided that Graphviz is installed) in your RAILS_ROOT.

[1] http://www.graphviz.org/