Closed scottmessinger closed 10 years ago
I noticed this too. I don't think there is any functional impact since removeObject
will remove all instances of the key but it did confuse me.
It would be nice to have a test that would fail prior to this change to make sure we don't regress.
Thanks for the response! I'll go ahead and add a test.
@scottmessinger ping
Thanks for the ping. I haven't gotten a chance to do it, but I'm planning to.
This prevents the same attributes from appearing multiple times in the
dirtyAttributes
arrayI'm not sure if this needs a test -- let me know and I'll add one.