search for: gps_locat

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

2006 May 18
1
Patch 5091
...ow_nil for composed_of allows nil attributes in aggregations. Currently aggregations do not allow nil attributes. This means that if you want an optional aggregation in your model you must code this into your component class. This is, in most cases, a defect. For example, you may want an optional gps_location in your customer model. Currently this means you must allow for calls like GpsLocation?.new(nil), which, given the domain, does not make much sense. Better for the aggregating model to not create a GpsLocation? when there''s a nil attribute. And, if your customer has just left for the m...