use rails and mongodb