Remove extraneous assert on deletion case

This commit is contained in:
Blake Watters
2012-12-16 13:01:31 -05:00
parent 0bfebc1d7c
commit b6a94de68a

View File

@@ -171,7 +171,6 @@ static NSDictionary *RKDictionaryFromDictionaryWithManagedObjectsAtKeyPathsRefet
} else if ([value isKindOfClass:[NSManagedObject class]]) {
// Object becomes nil if deleted
value = [value managedObjectContext] ? [managedObjectContext existingObjectWithID:[value objectID] error:&error] : nil;
NSCAssert(value, @"Failed to find existing object with ID %@ in context %@: %@", [value objectID], managedObjectContext, error);
}
RKSetMappedValueForKeyPathInDictionary(value, keyPath, newDictionary);