Small fix for assigning an assignee to a todo item.

When assigning a belongs-to-relation object the update_attribute method in resource.rb receives an actual Resource-object (for a e.g. Person) while it expects a hash of data values.