1602/jugglingdb — Issue #5: Save and create callbacks have different behaviors
Author: juggy
Created: 2011-11-17 15:03:14+00:00
State: open

It seems that create callback is:

User.create({...}, function(err, user){});

and save callback is

User.save(function(err){});

and is not bound to the object.

I would stick with one or the other. My preference is to use an explicit argument like create to pass the object to the callback.

Should be a pretty small change.