setting up rails to work with mongo