Hi,
Does anyone know of a tool or script that can parse the contents of
the models folder and produce some sort of model relationship
document, either a text summary or graphical representation?
Thanks, Andrew.
Hi,
Does anyone know of a tool or script that can parse the contents of
the models folder and produce some sort of model relationship
document, either a text summary or graphical representation?
Thanks, Andrew.
I’ve found a solution but wanted to post the answer just in case it is
of interest to anyone else.
Check this link for a very concise looking script that outputs in
Graphviz DOT format.
http://www.hackdiary.com/archives/000093.html
Andrew.
On 10 Jul, 13:03, Andrew E. [email protected]
Hi Andrew,
Andrew E. wrote:
I’ve found a solution but wanted to post the answer just
in case it is of interest to anyone else.Check this link for a very concise looking script that outputs
in Graphviz DOT format.
That looks like it could come in handy. Thanks for posting it.
Best regards,
Bill
Hi Rob,
Rob B. wrote:
I’ll throw my own gem into the pot here, I build on the
ideas that Matt has to produce model_graph:
Cool! Thanks for sharing it.
Best regards,
Bill
On Jul 10, 2007, at 8:03 AM, Andrew E. wrote:
Hi,
Does anyone know of a tool or script that can parse the contents of
the models folder and produce some sort of model relationship
document, either a text summary or graphical representation?Thanks, Andrew.
On Jul 10, 2007, at 9:37 AM, Bill W. wrote:
That looks like it could come in handy. Thanks for posting it.
Best regards,
Bill
I’ll throw my own gem into the pot here, I build on the ideas that
Matt has to produce model_graph:
http://rubyforge.org/projects/model-graph/
IMHO, It does a much better job of depicting relationships. (And I
know that a legend would be helpful, it’s coming,… really!)
It also produces a DOT file that is best viewed with Graphviz, but
can also be viewed with OmniGraffle (although the edge decorations
aren’t nearly supported as well).
-Rob
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs