Just interested in anybody’s opinion on the following:
I have one model class called Diagram, that contains a number of Node
classes (ie 1-many relationship). One of the Node classes must be the
Which would be better:
Attribute in Diagram class called StartNode containing id of the
Boolean attribute in Node class called StartNode? and set to true if
its the start node.
Would be interested in knowing the ‘Rails’ way of doing this