removeAttr
can.Model.removeAttr
{Boolean}
Sets whether model conversion should remove non existing attributes or merge with
the existing attributes. The default is false.
For example, if Task.findOne({ id: 1 }) returns
for the first request and
for the next request, the actual model attributes would look like:
Because the attributes of the original model and the updated model will be merged. Setting
removeAttrtotruewill result in model attributes like