Well, I used to forget about copy()...
It just turned this ugly duckling
Profiles.updateUser(u, User(newusername, u.firstName, u.lastName, u.yob, u.email, u.pwd, u.status, u.roles, u.addr, u.prefs, u._id))
I know it could be even simpler, but that's probably the only occurrence of that statement...
This content is Copyrighted, all rights reserved.