I'm learning to use node.js and I wrote a little test app with express and mongoose.
it working perfect on my local machine. but after I uploaded it to Appfog, the DB start to behave very strange. as you can see here:
http://agoo.eu01.aws.af.cm/users
the first change seems te happend (sometimes), but after that, it act vary weird. press F5 few time and it show the new change and sometimes it doesn't
more than that, sometime I open the app after a while and the change it there, but not always.
this is the app.js code
http://jsbin.com/egotam/1/edit
if there is any need for any other files I will gladly provide
it drivring me nuts for 2 days..
thank you in advance!