Find file
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (31 sloc) 1.13 KB


Too many partials in your project? Can't figure out if the hip bone connects to the thighbone or the cheekbone? Let PartialMap help :)

rails 3

script/rails plugin install

rails 2

script/plugin install


rake partialmap:text
rake partialmap:html > ~/partials.html | open ~/partials.html

Example Output:

Here's what a very small partial tree might look like. This was obtained by running rake partialmap:text



Please feel free to fork and contribute to the project. The mapping algorithm could be improved, the formatters can be made prettier and more useful. Enjoy!

Not tested with haml, but should theoretically work.

Copyright (c) 2011 Yan Pritzker,, released under the MIT license