search for: connectioncost

Displaying 1 result from an estimated 1 matches for "connectioncost".

Did you mean: connection_out
2009 Nov 04
0
The error occurred while evaluating nil.prefetch_primary_key
...occurred while evaluating nil.prefetch_primary_key? Hi, I have a problem with a model when I have 3 belongs_to relations in one the middle. This example is a subset of a grid-routing project: n 1 1 n +------------ Project Connection ------- ConnectionCost +------------ WaySearchRun n 1 The Problem is, when I add the ''belongs_to'' in ConnectionCost. I get the following error-message after creating a ConnectionCost : >> ConnectionCost.create NoMethodError: You have a ni...