search for: waysearchrun

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

2009 Nov 04
0
The error 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 nil object when you didn''t expect it! The er...