You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There seems to have been a fix back in 2019 but it was not merged and the author has since deleted their fork.
Given it seems to be related to PaperTrail I excluded all classes descendent from PaperTrail::Version in .erdconfig but this did not help. I found the list of Version models as such:
moduleRailsERDclassDiagramclassGraphviz < DiagrammoduleUmleach_relationshipdo |relationship|
from,to=relationship.source,relationship.destinationnextunlessto# This is the fix.unlessdraw_edgefrom&.name,to&.name,relationship_options(relationship)from.children.eachdo |child|
draw_edgechild&.name,to&.name,relationship_options(relationship)endto.children.eachdo |child|
draw_edgefrom&.name,child&.name,relationship_options(relationship)endendendendendendend
AND
moduleRailsERDclassDomaindefrelationships_mapping@relationships_mapping ||= {}.tapdo |mapping|
relationships.eachdo |relationship|
(mapping[relationship.source&.name] ||= []) << relationship# This is the fix.(mapping[relationship.destination&.name] ||= []) << relationship# This is the fix.endendendendend
There seems to have been a fix back in 2019 but it was not merged and the author has since deleted their fork.
Given it seems to be related to PaperTrail I excluded all classes descendent from
PaperTrail::Version
in.erdconfig
but this did not help. I found the list of Version models as such:I did some digging and it seems to be related to a
relationship.destination
beingnil
:The text was updated successfully, but these errors were encountered: