Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed model attribute synchronization for update method
closes bookshelf#2007 - The attributes object can be modified within `triggerThen` through hooks. Sample scenario described here bookshelf#2007 (comment). - Recalculating 'attributesToSave' object in after-triggerThen step solves the syncronization issue because it is still based on model's `attributes` property (the reference is not lost)
- Loading branch information