1602/jugglingdb — pull request #293 by hbj (2013-06-08 08:16:06+00:00)
Title: Model's 'updateAttributes()' does not apply setters

Currently the 'updateAttributes()' function is passing the received data as is for saving in the DB. This has the effect of having the data not being converted to their target types, e.g. foreign keys (e.g. for 'belongsTo' relation) are not being converted to 'ObjectId' for the mongo adapter.

This pull request fixes this issue.