RestKit/RestKit — pull request #1161 by percysnoodle (2013-01-16 15:30:56+00:00)
Title: Nil out targetObjectID if targetObject is set to an unmanaged object

In particular, if the user sets targetObject to nil (as is advised for multiple root objects) then targetObjectId should also be nil.