search for: gpslocation

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

Did you mean: gps_location
2006 May 18
1
Patch 5091
...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 moon, you want to set gps_location to nil. Currently this will result in an error. The desi...