Bugs: Browse | Submit New | Admin

[#5304] Syntax error

Date:
2006-08-04 19:02
Priority:
3
Submitted By:
Nobody
Assigned To:
Nobody (None)
Category:
None
State:
Open
Summary:
Syntax error

Detailed description
Running rake visualize results in the following error:

{{{
Error: <stdin>:117: syntax error near line 117
context:               Service -> >>>  Graph <<<  [ label = "graphs" ];
Generated doc/diagram.png.
}}}

I have a model called Graph and it looks like this causes a name conflict...

Add A Comment: Notepad

Please login


Followup

Message
Date: 2006-08-04 19:28
Sender: Thorsten von Eicken

Found a fix. Similiar changes probably need to happen elsewhere
in the code. Changed diagram.dot.erb line 40 from:

<%= assoc.active_record %> -> <%= to %> [ label
= "<%= assoc.name.to_s.humanize.downcase %>" ];

to

<%= assoc.active_record %> -> "<%= to %>"
[ label = "<%= assoc.name.to_s.humanize.downcase %>"
];

Notice the " around the <to> substitution.

Attached Files:

Name Description Download
No Files Currently Attached

Changes:

No Changes Have Been Made to This Item