seems to be a good post for both Rails and Node-express