lvbreda / Meteor_angularjs

279 stars 42 forks source link

.save() throws as error cuz we're saving something to MongoDB with a $. #38

Closed CWSpear closed 11 years ago

CWSpear commented 11 years ago

I was getting some errors trying to use the .save() shortcut and found that it was because I was trying to save something to MongoDB (a field) that started with a $, which is illegal.

I saw the cleanupAngularObject method, and that it was being used... but not .save().

lvbreda commented 11 years ago

Thank you!