configured rails to run with mongo